step 5 fixes
This commit is contained in:
parent
a6f435216a
commit
1343618729
@ -623,7 +623,6 @@ void step5(void) {
|
||||
|
||||
lastCycleTime = xTaskGetTickCount();
|
||||
}
|
||||
get_pressed_keypad(&key);
|
||||
if (get_module_time() <= 0 || (get_pressed_keypad(&key) && (char_of_keypad_key(key) == '#'))) {
|
||||
solved_correctly = submit_6(buttons_cycling, button_turned_on, led_off);
|
||||
break;
|
||||
@ -757,7 +756,6 @@ void step5(void) {
|
||||
// submit
|
||||
if (entered_string != answer_string) {
|
||||
strike("Incorrect answer!");
|
||||
break;
|
||||
} else {
|
||||
solved_correctly = true;
|
||||
}
|
||||
@ -779,7 +777,6 @@ void step5(void) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
vTaskDelay(pdMS_TO_TICKS(10));
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user