mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-29 23:07:42 +00:00
misc. formatting, grid condition
This commit is contained in:
parent
b3b6f23320
commit
03cf2b577b
@ -33,7 +33,7 @@ void safe_delay(millis_t ms); // Delay ensuring that temperatures are
|
||||
inline void serial_delay(const millis_t) {}
|
||||
#endif
|
||||
|
||||
#if (GRID_MAX_POINTS_X) && (GRID_MAX_POINTS_Y)
|
||||
#if GRID_MAX_POINTS
|
||||
|
||||
// 16x16 bit arrays
|
||||
template <int W, int H>
|
||||
|
@ -4480,7 +4480,7 @@ void JyersDWIN::printScreenControl() {
|
||||
#endif
|
||||
TERN_(HAS_FAN, thermalManager.fan_speed[0] = pausefan);
|
||||
planner.synchronize();
|
||||
TERN_(HAS_MEDIA, queue.inject(F("M24")));
|
||||
TERN_(HAS_MEDIA, queue.inject(FPSTR(M24_STR)));
|
||||
#endif
|
||||
}
|
||||
else {
|
||||
|
@ -107,8 +107,7 @@ void DGUSScreenHandler::loop() {
|
||||
}
|
||||
|
||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||
if (booted && powerLossRecoveryAvailable)
|
||||
{
|
||||
if (booted && powerLossRecoveryAvailable) {
|
||||
triggerScreenChange(DGUS_ScreenID::POWERCONTINUE);
|
||||
powerLossRecoveryAvailable = false;
|
||||
}
|
||||
@ -355,11 +354,8 @@ void DGUSScreenHandler::addCurrentPageStringLength(size_t stringLength, size_t t
|
||||
|
||||
void DGUSScreenHandler::sdCardRemoved() {
|
||||
sdPrintFilename = noFileSelected;
|
||||
|
||||
if (getCurrentScreen() >= DGUS_ScreenID::FILE1
|
||||
&& getCurrentScreen() <= DGUS_ScreenID::FILE4) {
|
||||
if (WITHIN(getCurrentScreen(), DGUS_ScreenID::FILE1, DGUS_ScreenID::FILE4))
|
||||
triggerTempScreenChange(DGUS_ScreenID::SDCARDCHECK, DGUS_ScreenID::HOME);
|
||||
}
|
||||
}
|
||||
|
||||
void DGUSScreenHandler::sdCardError() {}
|
||||
|
Loading…
Reference in New Issue
Block a user