From 91d53bc7fe34e855b60e06f7e5ec20a5d9ff835c Mon Sep 17 00:00:00 2001 From: Masanari Iida Date: Fri, 18 Jun 2021 22:32:13 +0900 Subject: [PATCH] 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 --- boards/arm/stm32l4/b-l475e-iot01a/src/stm32_timer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boards/arm/stm32l4/b-l475e-iot01a/src/stm32_timer.c b/boards/arm/stm32l4/b-l475e-iot01a/src/stm32_timer.c index 1a1de91186d..bea6bd1a328 100644 --- a/boards/arm/stm32l4/b-l475e-iot01a/src/stm32_timer.c +++ b/boards/arm/stm32l4/b-l475e-iot01a/src/stm32_timer.c @@ -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