Fix E3V2 M0/M1 and wait_for_user
This commit is contained in:
parent
f4aba99624
commit
c2363a81b4
@ -109,7 +109,7 @@
|
|||||||
#if EITHER(MIN_SOFTWARE_ENDSTOPS, MAX_SOFTWARE_ENDSTOPS)
|
#if EITHER(MIN_SOFTWARE_ENDSTOPS, MAX_SOFTWARE_ENDSTOPS)
|
||||||
#define HAS_SOFTWARE_ENDSTOPS 1
|
#define HAS_SOFTWARE_ENDSTOPS 1
|
||||||
#endif
|
#endif
|
||||||
#if ANY(EXTENSIBLE_UI, NEWPANEL, EMERGENCY_PARSER, HAS_ADC_BUTTONS)
|
#if ANY(EXTENSIBLE_UI, NEWPANEL, EMERGENCY_PARSER, HAS_ADC_BUTTONS, DWIN_CREALITY_LCD)
|
||||||
#define HAS_RESUME_CONTINUE 1
|
#define HAS_RESUME_CONTINUE 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -88,7 +88,9 @@ ENCODER_DiffState Encoder_ReceiveAnalyze(void) {
|
|||||||
#if PIN_EXISTS(LCD_LED)
|
#if PIN_EXISTS(LCD_LED)
|
||||||
//LED_Action();
|
//LED_Action();
|
||||||
#endif
|
#endif
|
||||||
return ENCODER_DIFF_ENTER;
|
const bool was_waiting = wait_for_user;
|
||||||
|
wait_for_user = false;
|
||||||
|
return was_waiting ? ENCODER_DIFF_NO : ENCODER_DIFF_ENTER;
|
||||||
}
|
}
|
||||||
else return ENCODER_DIFF_NO;
|
else return ENCODER_DIFF_NO;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user