led: Rename 'blink' to 'mode'

This commit is contained in:
Benoît Allard
2024-09-25 21:46:33 +02:00
parent fe396bc5b8
commit 7a0b67f3cb
6 changed files with 23 additions and 23 deletions

View File

@@ -185,7 +185,7 @@ bool wait_button() {
uint32_t start_button = board_millis();
bool timeout = false;
cancel_button = false;
led_set_blink(BLINK_BUTTON);
led_set_mode(MODE_BUTTON);
req_button_pending = true;
while (picok_board_button_read() == false && cancel_button == false) {
execute_tasks();
@@ -205,7 +205,7 @@ bool wait_button() {
}
}
}
led_set_blink(BLINK_PROCESSING);
led_set_mode(MODE_PROCESSING);
req_button_pending = false;
return timeout || cancel_button;
}