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