mirror of
https://github.com/apache/nuttx.git
synced 2026-08-04 05:39:01 +00:00
boards/arm/stm32l4/b-l475e-iot01a/src/stm32_timer.c: Fix missing closing bracket
Add missing ret and closing bracket for 2 syslog messages. It was found by cppcheck. Signed-off-by: Masanari Iida <standby24x7@gmail.com>
This commit is contained in:
parent
ab974edc84
commit
91d53bc7fe
1 changed files with 2 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ int stm32l4_timer_driver_setup(void)
|
|||
if (ret < 0)
|
||||
{
|
||||
syslog(LOG_ERR, "ERROR: Failed to setup TIM1 at /dev/timer0: %d\n",
|
||||
ret);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
@ -121,6 +122,7 @@ int stm32l4_timer_driver_setup(void)
|
|||
if (ret < 0)
|
||||
{
|
||||
syslog(LOG_ERR, "ERROR: Failed to setup TIM8 at /dev/timer7: %d\n",
|
||||
ret);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue