arch/xtensa/src/esp32/esp32_tim.c: Fix build when debug is enabled.
A non-existent variable was used. Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
parent
3956787254
commit
2d7e063eb0
|
@ -935,7 +935,7 @@ FAR struct esp32_tim_dev_s *esp32_tim0_init(void)
|
|||
|
||||
if (tim->inuse == true)
|
||||
{
|
||||
tmrerr("ERROR: TIMER %d is already in use\n", timer);
|
||||
tmrerr("ERROR: Timer0 is already in use\n");
|
||||
tim = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue