🎨 Fewer serial macros
This commit is contained in:
@@ -798,7 +798,7 @@ inline void manage_inactivity(const bool no_stepper_sleep=false) {
|
||||
void idle(bool no_stepper_sleep/*=false*/) {
|
||||
#if ENABLED(MARLIN_DEV_MODE)
|
||||
static uint16_t idle_depth = 0;
|
||||
if (++idle_depth > 5) SERIAL_ECHOLNPAIR("idle() call depth: ", idle_depth);
|
||||
if (++idle_depth > 5) SERIAL_ECHOLNPGM("idle() call depth: ", idle_depth);
|
||||
#endif
|
||||
|
||||
// Core Marlin activities
|
||||
@@ -1623,7 +1623,7 @@ void setup() {
|
||||
#if BOTH(HAS_WIRED_LCD, SHOW_BOOTSCREEN)
|
||||
const millis_t elapsed = millis() - bootscreen_ms;
|
||||
#if ENABLED(MARLIN_DEV_MODE)
|
||||
SERIAL_ECHOLNPAIR("elapsed=", elapsed);
|
||||
SERIAL_ECHOLNPGM("elapsed=", elapsed);
|
||||
#endif
|
||||
SETUP_RUN(ui.bootscreen_completion(elapsed));
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user