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:
Abdelatif Guettouche 2020-11-17 22:30:26 +00:00 committed by Xiang Xiao
parent 3956787254
commit 2d7e063eb0
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}