ships_face: fix compiler warnings (#186)

This commit is contained in:
Jeremy O'Brien
2023-01-23 16:26:47 -05:00
committed by GitHub
parent e8a18864ee
commit 3303060c59
2 changed files with 5 additions and 2 deletions

View File

@@ -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];