Apply TERN to compact code (#17619)
This commit is contained in:
@@ -75,9 +75,7 @@ void GcodeSuite::M191() {
|
||||
const bool no_wait_for_cooling = parser.seenval('S');
|
||||
if (no_wait_for_cooling || parser.seenval('R')) {
|
||||
thermalManager.setTargetChamber(parser.value_celsius());
|
||||
#if ENABLED(PRINTJOB_TIMER_AUTOSTART)
|
||||
thermalManager.check_timer_autostart(true, false);
|
||||
#endif
|
||||
TERN_(PRINTJOB_TIMER_AUTOSTART, thermalManager.check_timer_autostart(true, false));
|
||||
}
|
||||
else return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user