From 891a0aae1701eaac2e4fcdb57ce92516728c74f1 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Thu, 2 Dec 2021 06:16:20 +0100 Subject: [PATCH] cpu/esp8266: fix `esp_sw_timer` compile problem --- cpu/esp8266/periph/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/esp8266/periph/timer.c b/cpu/esp8266/periph/timer.c index b13ad73557..d13eccf3a3 100644 --- a/cpu/esp8266/periph/timer.c +++ b/cpu/esp8266/periph/timer.c @@ -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);