Skip to content

Commit 1a42c38

Browse files
authored
🩹 Replace more DEBUG_ECHOF (#26495)
Followup to #25928
1 parent e695c47 commit 1a42c38

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Marlin/src/gcode/calibrate/G28.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ void GcodeSuite::G28() {
263263

264264
#if ENABLED(DEBUG_LEVELING_FEATURE)
265265
auto debug_current = [](FSTR_P const s, const int16_t a, const int16_t b) {
266-
if (DEBUGGING(LEVELING)) { DEBUG_ECHOF(s); DEBUG_ECHOLNPGM(" current: ", a, " -> ", b); }
266+
if (DEBUGGING(LEVELING)) { DEBUG_ECHOLN(s, F(" current: "), a, F(" -> "), b); }
267267
};
268268
#else
269269
#define debug_current(...)

Marlin/src/module/endstops.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,7 @@ void Endstops::update() {
13601360

13611361
#if ENABLED(DEBUG_LEVELING_FEATURE)
13621362
auto debug_current = [](FSTR_P const s, const int16_t a, const int16_t b) {
1363-
if (DEBUGGING(LEVELING)) { DEBUG_ECHOF(s); DEBUG_ECHOLNPGM(" current: ", a, " -> ", b); }
1363+
if (DEBUGGING(LEVELING)) { DEBUG_ECHOLN(s, F(" current: "), a, F(" -> "), b); }
13641364
};
13651365
#else
13661366
#define debug_current(...)

0 commit comments

Comments
 (0)