Reset LA10/15 state also when stopping a print
Based on f22fb2770bb278f71ad162b1abd8108633424f6c by @leptun
This commit is contained in:
parent
0b666ee733
commit
b9ce572559
@ -51,6 +51,10 @@
|
||||
#include "adc.h"
|
||||
#include "config.h"
|
||||
|
||||
#ifndef LA_NOCOMPAT
|
||||
#include "la10compat.h"
|
||||
#endif
|
||||
|
||||
|
||||
int scrollstuff = 0;
|
||||
char longFilenameOLD[LONG_FILENAME_LENGTH];
|
||||
@ -7336,6 +7340,9 @@ void lcd_print_stop()
|
||||
#ifdef MESH_BED_LEVELING
|
||||
mbl.active = false; //also prevents undoing the mbl compensation a second time in the second planner_abort_hard()
|
||||
#endif
|
||||
#ifndef LA_NOCOMPAT
|
||||
la10c_reset();
|
||||
#endif
|
||||
|
||||
lcd_setstatuspgm(_T(MSG_PRINT_ABORTED));
|
||||
stoptime = _millis();
|
||||
|
Loading…
Reference in New Issue
Block a user