summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/complication/sailing_face.c
diff options
context:
space:
mode:
authorJeremy O'Brien <neutral@fastmail.com>2023-01-23 16:26:47 -0500
committerGitHub <noreply@github.com>2023-01-23 15:26:47 -0600
commit3303060c59e1591bd2c6bb7cfc5b21e550728d6d (patch)
treeacaadd23505a6a2b9b715089c48ad331714ed1fe /movement/watch_faces/complication/sailing_face.c
parente8a18864eeae5597d8c82e1c715c24faf1f47b70 (diff)
downloadSensor-Watch-3303060c59e1591bd2c6bb7cfc5b21e550728d6d.tar.gz
Sensor-Watch-3303060c59e1591bd2c6bb7cfc5b21e550728d6d.tar.bz2
Sensor-Watch-3303060c59e1591bd2c6bb7cfc5b21e550728d6d.zip
ships_face: fix compiler warnings (#186)
Diffstat (limited to 'movement/watch_faces/complication/sailing_face.c')
-rw-r--r--movement/watch_faces/complication/sailing_face.c3
1 files changed, 1 insertions, 2 deletions
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];