Clean up formatting, wrap macros
This commit is contained in:
@@ -45,7 +45,7 @@ void HotendIdleProtection::check_hotends(const millis_t &ms) {
|
||||
bool do_prot = false;
|
||||
HOTEND_LOOP() {
|
||||
const bool busy = (TERN0(HAS_RESUME_CONTINUE, wait_for_user) || planner.has_blocks_queued());
|
||||
if (thermalManager.degHotend(e) >= HOTEND_IDLE_MIN_TRIGGER && !busy) {
|
||||
if (thermalManager.degHotend(e) >= (HOTEND_IDLE_MIN_TRIGGER) && !busy) {
|
||||
do_prot = true; break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user