mirror of
https://github.com/apache/nuttx.git
synced 2026-10-09 07:15:20 +00: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:
parent
3956787254
commit
2d7e063eb0
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue