// 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));
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();
// 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));
/// @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);