@@ -263,7 +263,7 @@ void GcodeSuite::G28() {
|
|||||||
|
|
||||||
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
||||||
auto debug_current = [](FSTR_P const s, const int16_t a, const int16_t b) {
|
auto debug_current = [](FSTR_P const s, const int16_t a, const int16_t b) {
|
||||||
if (DEBUGGING(LEVELING)) { DEBUG_ECHOF(s); DEBUG_ECHOLNPGM(" current: ", a, " -> ", b); }
|
if (DEBUGGING(LEVELING)) { DEBUG_ECHOLN(s, F(" current: "), a, F(" -> "), b); }
|
||||||
};
|
};
|
||||||
#else
|
#else
|
||||||
#define debug_current(...)
|
#define debug_current(...)
|
||||||
|
@@ -1360,7 +1360,7 @@ void Endstops::update() {
|
|||||||
|
|
||||||
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
||||||
auto debug_current = [](FSTR_P const s, const int16_t a, const int16_t b) {
|
auto debug_current = [](FSTR_P const s, const int16_t a, const int16_t b) {
|
||||||
if (DEBUGGING(LEVELING)) { DEBUG_ECHOF(s); DEBUG_ECHOLNPGM(" current: ", a, " -> ", b); }
|
if (DEBUGGING(LEVELING)) { DEBUG_ECHOLN(s, F(" current: "), a, F(" -> "), b); }
|
||||||
};
|
};
|
||||||
#else
|
#else
|
||||||
#define debug_current(...)
|
#define debug_current(...)
|
||||||
|
Reference in New Issue
Block a user