瀏覽代碼

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
Guðni Már Gilbert 2 年之前
父節點
當前提交
5037d1edbc
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      Firmware/ultralcd.cpp

+ 0 - 3
Firmware/ultralcd.cpp

@@ -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