More refactoring

last compile dependency on DAC
This commit is contained in:
philippe44
2020-02-09 13:29:25 -08:00
parent 5bee512a85
commit 90d52dabaf
12 changed files with 61 additions and 46 deletions

View File

@@ -170,7 +170,7 @@ void set_led_gpio(int gpio, char *value) {
}
void led_svc_init(void) {
#ifndef LED_LOCKED
#ifndef CONFIG_LED_LOCKED
parse_set_GPIO(set_led_gpio);
#endif
ESP_LOGI(TAG,"Configuring LEDs green:%d (active:%d), red:%d (active:%d)", green.gpio, green.state, red.gpio, red.state);