add: -Wpedantic build flag and fix code

This commit is contained in:
Tobias Reisinger 2020-04-23 16:59:46 +02:00
parent 11f1a79d6a
commit 5b9f2aa49b
7 changed files with 15 additions and 13 deletions
models

View file

@ -65,7 +65,7 @@ relay_debug(relay_t *relay)
LOG_DEBUG("relay is NULL");
return;
}
LOG_DEBUG("(1/3) %d @ %p", relay->number, relay);
LOG_DEBUG("(1/3) %d @ %p", relay->number, (void*)relay);
LOG_DEBUG("(2/3) name: %s", relay->name);
LOG_DEBUG("(3/3) schedule:");
schedule_debug(relay->schedule);