project/modules/leds.c
@@ -102,7 +102,7 @@ int i; led_info_t *led; log_warn("terminate RGB Led gpios\n"); log_debug("terminate RGB Led gpios\n"); if( !ctx ) { @@ -148,6 +148,8 @@ led = &ctx.leds[which]; log_info("turn Led %s %s\n", led->name, cmd?"on":"off"); if( OFF == cmd ) { gpiod_line_set_value(led->line, !led->active);