fix: better debug messages

This commit is contained in:
Tobias Reisinger 2020-04-14 01:58:06 +02:00
parent 6ecef87f24
commit 452b37dd6a
2 changed files with 4 additions and 1 deletions
handlers

View file

@ -35,6 +35,8 @@ handler_command_set_schedule(binn *map, controller_t *controller)
schedule_free(target_relay->schedule);
}
target_relay->schedule = schedule_create(schedule_id, periods_count, periods);
relay_debug(target_relay);
}
static void
@ -47,6 +49,7 @@ handler_command_set_relay_name(binn *map, controller_t *controller)
{
relay_set_name(controller->relays[relay_num], relay_name);
}
relay_debug(controller->relays[relay_num]);
}
void