]> git.earman.xyz Git - sensor-watch.git/commitdiff
remove errant braces
authorJoey Castillo <joeycastillo@utexas.edu>
Fri, 16 May 2025 13:08:33 +0000 (09:08 -0400)
committerJoey Castillo <joeycastillo@utexas.edu>
Fri, 16 May 2025 13:08:33 +0000 (09:08 -0400)
watch-faces/settings/set_time_face.c

index a580d6b6d3dbc61a455a208378be265ed65de82b..5edae2bf5c64c87678bf59fe9ab13a69d95302ea 100644 (file)
@@ -51,7 +51,7 @@ static void _handle_alarm_button(watch_date_time_t date_time, uint8_t current_pa
         case 1: // month
             date_time.unit.month = (date_time.unit.month % 12) + 1;
             break;
-        case 2: // day
+        case 2: // day
             date_time.unit.day = (date_time.unit.day % watch_utility_days_in_month(date_time.unit.month, date_time.unit.year + WATCH_RTC_REFERENCE_YEAR)) + 1;
             break;
         case 4: // hour
@@ -63,7 +63,6 @@ static void _handle_alarm_button(watch_date_time_t date_time, uint8_t current_pa
         case 6: // second
             date_time.unit.second = 0;
             break;
-        }
     }
     movement_set_local_date_time(date_time);
 }