step 5 fixes

This commit is contained in:
Drake Marino 2024-12-28 17:56:04 -06:00
parent a6f435216a
commit 1343618729

View File

@ -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));
}