From 171e8589f98bfd1fa7e1116080aeb316af7f82df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Procha=CC=81zka?= <90197375+P-R-O-C-H-Y@users.noreply.github.com> Date: Mon, 9 May 2022 11:28:56 +0200 Subject: [PATCH] fixed timer_dev definition --- cores/esp32/esp32-hal-timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp32/esp32-hal-timer.c b/cores/esp32/esp32-hal-timer.c index 2c0a18ca9a4..c2dc5e1f04d 100644 --- a/cores/esp32/esp32-hal-timer.c +++ b/cores/esp32/esp32-hal-timer.c @@ -47,7 +47,7 @@ typedef struct hw_timer_s // Works for all chips static hw_timer_t timer_dev[4] = { - {0,0}, {1,0}, {1,0}, {1,1} + {0,0}, {1,0}, {0,1}, {1,1} }; // NOTE: (in IDF 5.0 there wont be need to know groups/numbers