delay_keep_alive calls manage_heater and manage_inactivity

No need to call them again, the for-loop is very quick

Change in memory:
Flash: -10 bytes
SRAM: 0 bytes
This commit is contained in:
Guðni Már Gilbert 2022-12-10 20:32:40 +00:00 committed by DRracer
parent 1a9b7d79e6
commit 5037d1edbc
1 changed files with 0 additions and 3 deletions

View File

@ -3207,9 +3207,6 @@ uint8_t lcd_show_multiscreen_message_with_choices_and_wait_P(
current_selection = LCD_BUTTON_TIMEOUT;
goto exit;
}
manage_heater();
manage_inactivity(true);
if (abs(enc_dif - lcd_encoder_diff) >= ENCODER_PULSES_PER_STEP) {
if (msg_next == NULL) {
if (third_choice) { // third_choice is not nullptr, safe to dereference