fix: logging calls
This commit is contained in:
parent
db64e4f820
commit
6ecef87f24
3 changed files with 23 additions and 14 deletions
4
main.c
4
main.c
|
@ -130,13 +130,13 @@ main(int argc, char** argv)
|
|||
|
||||
/******************** START MAIN LOOP ********************/
|
||||
|
||||
while(1)
|
||||
for(;;)
|
||||
{
|
||||
ret = poll(fds, fd_count, timeout_msecs);
|
||||
|
||||
if(ret == 0)
|
||||
{
|
||||
LOG_TRACE("idle loop");
|
||||
LOG_DEBUG("===== IDLE LOOP START =====");
|
||||
for(uint_fast8_t i = 0; i < this_controller->relay_count; ++i)
|
||||
{
|
||||
relay_t *relay = this_controller->relays[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue