More efficient display draw for fast_stopwatch_face
This commit is contained in:
@@ -59,6 +59,11 @@ typedef struct {
|
||||
rtc_counter_t lap_counter; // rtc counter when the stopwatch was lapped
|
||||
rtc_counter_t stop_counter; // rtc counter when the stopwatch was stopped
|
||||
uint8_t status; // the status the stopwatch is in (idle, running, stopped)
|
||||
struct {
|
||||
rtc_counter_t seconds;
|
||||
rtc_counter_t minutes;
|
||||
rtc_counter_t hours;
|
||||
} old_display; // the digits currently being displayed on screen
|
||||
} fast_stopwatch_state_t;
|
||||
|
||||
void fast_stopwatch_face_setup(uint8_t watch_face_index, void ** context_ptr);
|
||||
|
||||
Reference in New Issue
Block a user