cpu/esp8266: fix esp_sw_timer compile problem

This commit is contained in:
Gunar Schorcht 2021-12-02 06:16:20 +01:00
parent 7da115f9e6
commit 891a0aae17

View File

@ -382,7 +382,7 @@ void IRAM os_timer_handler (void* arg)
int timer_init (tim_t dev, uint32_t freq, timer_cb_t cb, void *arg)
{
DEBUG("%s dev=%u freq=%lu cb=%p arg=%p\n", __func__, dev, freq, cb, arg);
DEBUG("%s dev=%u freq=%u cb=%p arg=%p\n", __func__, dev, freq, cb, arg);
CHECK_PARAM_RET (dev < OS_TIMER_NUMOF, -1);
CHECK_PARAM_RET (freq == XTIMER_HZ_BASE, -1);