summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--movement/watch_faces/complication/planetary_hours_face.c1
-rw-r--r--movement/watch_faces/complication/planetary_time_face.c3
-rw-r--r--movement/watch_faces/complication/time_left_face.c2
3 files changed, 4 insertions, 2 deletions
diff --git a/movement/watch_faces/complication/planetary_hours_face.c b/movement/watch_faces/complication/planetary_hours_face.c
index f5f36f19..acded917 100644
--- a/movement/watch_faces/complication/planetary_hours_face.c
+++ b/movement/watch_faces/complication/planetary_hours_face.c
@@ -335,6 +335,7 @@ static void _planetary_hours(movement_settings_t *settings, planetary_hours_stat
// PUBLIC WATCH FACE FUNCTIONS ////////////////////////////////////////////////
void planetary_hours_face_setup(movement_settings_t *settings, uint8_t watch_face_index, void ** context_ptr) {
+ (void) watch_face_index;
(void) settings;
if (*context_ptr == NULL) {
*context_ptr = malloc(sizeof(planetary_hours_state_t));
diff --git a/movement/watch_faces/complication/planetary_time_face.c b/movement/watch_faces/complication/planetary_time_face.c
index 3d4ce34e..56a18cf2 100644
--- a/movement/watch_faces/complication/planetary_time_face.c
+++ b/movement/watch_faces/complication/planetary_time_face.c
@@ -205,7 +205,7 @@ static void _planetary_time(movement_event_t event, movement_settings_t *setting
char ruler[3];
double night_hour_count = 0.0;
uint8_t weekday, planet, planetary_hour;
- double hour_duration, current_hour, current_minute, current_second, second_duration;
+ double hour_duration, current_hour, current_minute, current_second;
watch_set_colon();
@@ -271,6 +271,7 @@ static void _planetary_time(movement_event_t event, movement_settings_t *setting
// PUBLIC WATCH FACE FUNCTIONS ////////////////////////////////////////////////
void planetary_time_face_setup(movement_settings_t *settings, uint8_t watch_face_index, void ** context_ptr) {
+ (void) watch_face_index;
(void) settings;
if (*context_ptr == NULL) {
*context_ptr = malloc(sizeof(planetary_time_state_t));
diff --git a/movement/watch_faces/complication/time_left_face.c b/movement/watch_faces/complication/time_left_face.c
index 9515cfe7..cc1077aa 100644
--- a/movement/watch_faces/complication/time_left_face.c
+++ b/movement/watch_faces/complication/time_left_face.c
@@ -83,7 +83,7 @@ static void _display_percentage(float percentage, char *buf) {
/// @brief draw the current state to the display
static void _draw(time_left_state_t *state, uint8_t subsecond) {
- char buf[14];
+ char buf[17];
watch_display_character(_state_titles[state->current_page][0], 0);
watch_display_character(_state_titles[state->current_page][1], 1);
watch_display_character(' ', 2);