]> git.earman.xyz Git - sensor-watch.git/commitdiff
Typo fix on PREFERENCES_FACE_NUM_PREFERENCES
authorDavid Volovskiy <devolov@gmail.com>
Mon, 8 Jul 2024 22:33:17 +0000 (18:33 -0400)
committerDavid Volovskiy <devolov@gmail.com>
Mon, 8 Jul 2024 22:33:17 +0000 (18:33 -0400)
movement/watch_faces/settings/preferences_face.c

index 2d4de9d452c7609d397cd389e9ac98712c235794..22979773e1ecad8096aa37c6bb2072f74446ef26 100644 (file)
@@ -26,8 +26,8 @@
 #include "preferences_face.h"
 #include "watch.h"
 
-#define PREFERENCES_FACE_NUM_PREFEFENCES (7)
-const char preferences_face_titles[PREFERENCES_FACE_NUM_PREFEFENCES][11] = {
+#define PREFERENCES_FACE_NUM_PREFERENCES (7)
+const char preferences_face_titles[PREFERENCES_FACE_NUM_PREFERENCES][11] = {
     "CL        ",   // Clock: 12 or 24 hour
     "BT  Beep  ",   // Buttons: should they beep?
     "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();
             return false;
         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;
             break;
         case EVENT_ALARM_BUTTON_UP: