Explorar o código

JACK_LEVEL correction for real

philippe44 %!s(int64=5) %!d(string=hai) anos
pai
achega
d301a2d9df
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      components/wifi-manager/wifi_manager.c

+ 1 - 1
components/wifi-manager/wifi_manager.c

@@ -72,7 +72,7 @@ Contains the freeRTOS task and all necessary support
 #endif
 #endif
 #ifdef CONFIG_SQUEEZEAMP
 #ifdef CONFIG_SQUEEZEAMP
 #define JACK_GPIO	34
 #define JACK_GPIO	34
-#define JACK_LEVEL !gpio_get_level(JACK_GPIO)?"1":"0";
+#define JACK_LEVEL !gpio_get_level(JACK_GPIO)?"1":"0"
 #else
 #else
 #define JACK_LEVEL "N/A"
 #define JACK_LEVEL "N/A"
 #endif
 #endif