Typo fix on PREFERENCES_FACE_NUM_PREFERENCES
This commit is contained in:
parent
b923d50652
commit
7f6a9e5c9b
@ -26,8 +26,8 @@
|
|||||||
#include "preferences_face.h"
|
#include "preferences_face.h"
|
||||||
#include "watch.h"
|
#include "watch.h"
|
||||||
|
|
||||||
#define PREFERENCES_FACE_NUM_PREFEFENCES (7)
|
#define PREFERENCES_FACE_NUM_PREFERENCES (7)
|
||||||
const char preferences_face_titles[PREFERENCES_FACE_NUM_PREFEFENCES][11] = {
|
const char preferences_face_titles[PREFERENCES_FACE_NUM_PREFERENCES][11] = {
|
||||||
"CL ", // Clock: 12 or 24 hour
|
"CL ", // Clock: 12 or 24 hour
|
||||||
"BT Beep ", // Buttons: should they beep?
|
"BT Beep ", // Buttons: should they beep?
|
||||||
"TO ", // Timeout: how long before we snap back to the clock face?
|
"TO ", // Timeout: how long before we snap back to the clock face?
|
||||||
@ -65,7 +65,7 @@ bool preferences_face_loop(movement_event_t event, movement_settings_t *settings
|
|||||||
movement_move_to_next_face();
|
movement_move_to_next_face();
|
||||||
return false;
|
return false;
|
||||||
case EVENT_LIGHT_BUTTON_DOWN:
|
case EVENT_LIGHT_BUTTON_DOWN:
|
||||||
current_page = (current_page + 1) % PREFERENCES_FACE_NUM_PREFEFENCES;
|
current_page = (current_page + 1) % PREFERENCES_FACE_NUM_PREFERENCES;
|
||||||
*((uint8_t *)context) = current_page;
|
*((uint8_t *)context) = current_page;
|
||||||
break;
|
break;
|
||||||
case EVENT_ALARM_BUTTON_UP:
|
case EVENT_ALARM_BUTTON_UP:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user