| project/modules/leds.c | ●●●●● patch | view | raw | blame | history | |
| project/thingsboard/thingsboard.c | ●●●●● patch | view | raw | blame | history |
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); project/thingsboard/thingsboard.c
@@ -346,7 +346,7 @@ return ; } log_debug("Subscriber receive message: '%s'\n", message->payload); log_info("Subscriber receive message: '%s'\n", message->payload); root = cJSON_Parse(message->payload); if( !root )