silence warnings
This commit is contained in:
1 parent
226cda748c
commit
89a2af92ef
4 files changed
+5
-2
No files matched your search
@@ -59,6 +59,7 @@ typedef struct {
|
||||
} pulsometer_state_t;
|
||||
|
||||
static void pulsometer_display_title(pulsometer_state_t *pulsometer) {
|
||||
(void) pulsometer;
|
||||
watch_display_string(PULSOMETER_FACE_TITLE, 0);
|
||||
}
|
||||
|
||||
|
||||
@@ -205,7 +205,7 @@ bool totp_face_loop(movement_event_t event, movement_settings_t *settings, void
|
||||
movement_move_to_face(0);
|
||||
break;
|
||||
case EVENT_ALARM_BUTTON_UP:
|
||||
if (totp_state->current_index + 1 < totp_total()) {
|
||||
if ((size_t)totp_state->current_index + 1 < totp_total()) {
|
||||
totp_state->current_index++;
|
||||
} else {
|
||||
// wrap around to first key
|
||||
|
||||
Reference in new issue
Block a user