Explorar o código

[ml305] fix ML305_SAMPLE_CLIENT_NAME redefine

Meco Man hai 1 ano
pai
achega
6ea0fe335b
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      samples/at_sample_ml305.c

+ 2 - 0
samples/at_sample_ml305.c

@@ -15,7 +15,9 @@
 
 
 #define ML305_SAMPLE_DEIVCE_NAME        "ml3050"
 #define ML305_SAMPLE_DEIVCE_NAME        "ml3050"
 
 
+#ifndef ML305_SAMPLE_CLIENT_NAME
 #define ML305_SAMPLE_CLIENT_NAME        "uart3"
 #define ML305_SAMPLE_CLIENT_NAME        "uart3"
+#endif
 
 
 #if !defined (ML305_SAMPLE_POWER_PIN)
 #if !defined (ML305_SAMPLE_POWER_PIN)
     #define ML305_SAMPLE_POWER_PIN      0x1C
     #define ML305_SAMPLE_POWER_PIN      0x1C