Added update RPC for colors, lamps and animations

This commit is contained in:
2017-12-03 09:22:54 +01:00
parent 94910cc5e8
commit 2479cc62fd
3 changed files with 67 additions and 29 deletions

View File

@@ -48,7 +48,7 @@ static void stateEngineTickTimer() {
static void delayed_boot() {
LOG(LL_INFO, ("*** Start timer for LED state engine ticks"));
mgos_set_timer(100, true, stateEngineTickTimer, NULL); // every 0.1 second call timer_cb
mgos_set_timer(mgos_sys_config_get_led_tickDuration(), true, stateEngineTickTimer, NULL); // every 0.1 second call timer_cb
}
enum mgos_app_init_result mgos_app_init(void) {