diff options
Diffstat (limited to 'radiator-plc/stm32/app/main.c')
-rw-r--r-- | radiator-plc/stm32/app/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/radiator-plc/stm32/app/main.c b/radiator-plc/stm32/app/main.c index 57b6752..4a00a70 100644 --- a/radiator-plc/stm32/app/main.c +++ b/radiator-plc/stm32/app/main.c @@ -19,6 +19,7 @@ static void mqtt_cmd (char *type) type++; who = index (type, ' '); + if (who) *who = 0; @@ -133,11 +134,10 @@ main (void) onewire_init(); inputs_init(); outputs_init(); + logic_init(); printf ("D: RESET\n"); - //onewire_search(); - for (;;) { if (!ring_empty (&rx1_ring)) kbd_dispatch(); |