From 3303060c59e1591bd2c6bb7cfc5b21e550728d6d Mon Sep 17 00:00:00 2001 From: Jeremy O'Brien Date: Mon, 23 Jan 2023 16:26:47 -0500 Subject: ships_face: fix compiler warnings (#186) --- movement/watch_faces/complication/sailing_face.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'movement/watch_faces/complication/sailing_face.c') diff --git a/movement/watch_faces/complication/sailing_face.c b/movement/watch_faces/complication/sailing_face.c index 97868a54..0bdbe8ea 100644 --- a/movement/watch_faces/complication/sailing_face.c +++ b/movement/watch_faces/complication/sailing_face.c @@ -33,7 +33,6 @@ #define sl_SELECTIONS 6 #define DEFAULT_MINUTES { 5,4,1,0,0,0 } -#define UNUSED(x) (void)(x) static inline int32_t get_tz_offset(movement_settings_t *settings) { return movement_timezone_offsets[settings->bit.time_zone] * 60; @@ -66,7 +65,7 @@ static void start(sailing_state_t *state, movement_settings_t *settings) { } static void draw(sailing_state_t *state, uint8_t subsecond, movement_settings_t *settings) { - UNUSED(settings); + (void) settings; char tmp[24]; char buf[16]; -- cgit v1.2.3