Skip to content

Commit

Permalink
cpu/esp8266: fix esp_sw_timer compile problem
Browse files Browse the repository at this point in the history
  • Loading branch information
gschorcht committed Dec 2, 2021
1 parent 7da115f commit 891a0aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpu/esp8266/periph/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 891a0aa

Please sign in to comment.