|
@@ -1754,7 +1754,7 @@ void update_variable() {
|
1754
|
1754
|
if (_new_hotend_target)
|
1755
|
1755
|
Draw_Stat_Int(25 + 4 * STAT_CHR_W + 6, 384, _hotendtarget);
|
1756
|
1756
|
|
1757
|
|
- static int16_t _flow = planner.flow_percentage[0];
|
|
1757
|
+ static int16_t _flow = 0;
|
1758
|
1758
|
if (_flow != planner.flow_percentage[0]) {
|
1759
|
1759
|
_flow = planner.flow_percentage[0];
|
1760
|
1760
|
Draw_Stat_Int(116 + 2 * STAT_CHR_W, 417, _flow);
|
|
@@ -1768,7 +1768,7 @@ void update_variable() {
|
1768
|
1768
|
Draw_Stat_Int(25 + 4 * STAT_CHR_W + 6, 417, _bedtarget);
|
1769
|
1769
|
#endif
|
1770
|
1770
|
|
1771
|
|
- static int16_t _feedrate = 100;
|
|
1771
|
+ static int16_t _feedrate = 0;
|
1772
|
1772
|
if (_feedrate != feedrate_percentage) {
|
1773
|
1773
|
_feedrate = feedrate_percentage;
|
1774
|
1774
|
Draw_Stat_Int(116 + 2 * STAT_CHR_W, 384, _feedrate);
|
|
@@ -2269,6 +2269,8 @@ void HMI_SelectFile() {
|
2269
|
2269
|
// thermalManager.fan_speed[i] = 255;
|
2270
|
2270
|
#endif
|
2271
|
2271
|
|
|
2272
|
+ _card_percent = 0;
|
|
2273
|
+ _remain_time = 0;
|
2272
|
2274
|
Goto_PrintProcess();
|
2273
|
2275
|
}
|
2274
|
2276
|
}
|
|
@@ -4176,10 +4178,7 @@ void EachMomentUpdate() {
|
4176
|
4178
|
}
|
4177
|
4179
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
4178
|
4180
|
else if (DWIN_lcd_sd_status && recovery.dwin_flag) { // resume print before power off
|
4179
|
|
- static bool recovery_flag = false;
|
4180
|
|
-
|
4181
|
4181
|
recovery.dwin_flag = false;
|
4182
|
|
- recovery_flag = true;
|
4183
|
4182
|
|
4184
|
4183
|
auto update_selection = [&](const bool sel) {
|
4185
|
4184
|
HMI_flag.select_flag = sel;
|
|
@@ -4199,6 +4198,7 @@ void EachMomentUpdate() {
|
4199
|
4198
|
DWIN_Draw_String(true, font8x16, Popup_Text_Color, Color_Bg_Window, npos, 252, name);
|
4200
|
4199
|
DWIN_UpdateLCD();
|
4201
|
4200
|
|
|
4201
|
+ bool recovery_flag = true;
|
4202
|
4202
|
while (recovery_flag) {
|
4203
|
4203
|
EncoderState encoder_diffState = Encoder_ReceiveAnalyze();
|
4204
|
4204
|
if (encoder_diffState != ENCODER_DIFF_NO) {
|