summaryrefslogtreecommitdiffstats
path: root/movement/watch_faces/complication/sailing_face.c
diff options
context:
space:
mode:
authorjoeycastillo <joeycastillo@utexas.edu>2023-01-25 09:26:31 -0600
committerGitHub <noreply@github.com>2023-01-25 09:26:31 -0600
commit4412b5d08f90084a8e677bea4792851e6d82bdf3 (patch)
treec1298f3ea924d8102b33bd796373209dad8be63b /movement/watch_faces/complication/sailing_face.c
parent2b22ecc8e43cc21c56d82ee3f89f32dd7b6b8e4a (diff)
parent3303060c59e1591bd2c6bb7cfc5b21e550728d6d (diff)
downloadSensor-Watch-default-handler.tar.gz
Sensor-Watch-default-handler.tar.bz2
Sensor-Watch-default-handler.zip
Merge branch 'main' into default-handlerdefault-handler
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 cec04224..81d99db1 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];