mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 03:05:40 +08:00
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:
committed by
Xiang Xiao
parent
3956787254
commit
2d7e063eb0
@@ -935,7 +935,7 @@ FAR struct esp32_tim_dev_s *esp32_tim0_init(void)
|
|||||||
|
|
||||||
if (tim->inuse == true)
|
if (tim->inuse == true)
|
||||||
{
|
{
|
||||||
tmrerr("ERROR: TIMER %d is already in use\n", timer);
|
tmrerr("ERROR: Timer0 is already in use\n");
|
||||||
tim = NULL;
|
tim = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user