Fix some static code analysis warnings

This commit is contained in:
Martin Jäger
2020-07-23 12:55:38 +02:00
parent 3012501358
commit b8fe6d7023
14 changed files with 110 additions and 98 deletions
+5 -1
View File
@@ -88,7 +88,11 @@ uint32_t timestamp;
#include <zephyr.h>
static inline void timestamp_inc(struct k_timer *timer_id) { timestamp++; }
static inline void timestamp_inc(struct k_timer *timer_id)
{
ARG_UNUSED(timer_id);
timestamp++;
}
void setup()
{