Patch utility for debug-leveling
This commit is contained in:
parent
252ae1b52d
commit
9509568b7e
@ -47,7 +47,7 @@ void safe_delay(millis_t ms) {
|
|||||||
|
|
||||||
#endif // EEPROM_SETTINGS
|
#endif // EEPROM_SETTINGS
|
||||||
|
|
||||||
#if ENABLED(ULTRA_LCD)
|
#if ENABLED(ULTRA_LCD) || (ENABLED(DEBUG_LEVELING_FEATURE) && (ENABLED(MESH_BED_LEVELING) || (HAS_ABL && !ABL_PLANAR)))
|
||||||
|
|
||||||
char conv[8] = { 0 };
|
char conv[8] = { 0 };
|
||||||
|
|
||||||
@ -254,4 +254,4 @@ void safe_delay(millis_t ms) {
|
|||||||
return &conv[1];
|
return &conv[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // ULTRA_LCD
|
#endif // ULTRA_LCD || (DEBUG_LEVELING_FEATURE && (MESH_BED_LEVELING || (HAS_ABL && !ABL_PLANAR)))
|
||||||
|
@ -29,7 +29,7 @@ void safe_delay(millis_t ms);
|
|||||||
void crc16(uint16_t *crc, const void * const data, uint16_t cnt);
|
void crc16(uint16_t *crc, const void * const data, uint16_t cnt);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(ULTRA_LCD) || ENABLED(DEBUG_LEVELING_FEATURE)
|
#if ENABLED(ULTRA_LCD) || (ENABLED(DEBUG_LEVELING_FEATURE) && (ENABLED(MESH_BED_LEVELING) || (HAS_ABL && !ABL_PLANAR)))
|
||||||
|
|
||||||
// Convert uint8_t to string with 123 format
|
// Convert uint8_t to string with 123 format
|
||||||
char* i8tostr3(const uint8_t x);
|
char* i8tostr3(const uint8_t x);
|
||||||
@ -81,6 +81,6 @@ void safe_delay(millis_t ms);
|
|||||||
FORCE_INLINE char *ftostr4sign(const float &x) { return itostr4sign((int)x); }
|
FORCE_INLINE char *ftostr4sign(const float &x) { return itostr4sign((int)x); }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // ULTRA_LCD
|
#endif // ULTRA_LCD || (DEBUG_LEVELING_FEATURE && (MESH_BED_LEVELING || (HAS_ABL && !ABL_PLANAR)))
|
||||||
|
|
||||||
#endif // __UTILITY_H__
|
#endif // __UTILITY_H__
|
||||||
|
Loading…
Reference in New Issue
Block a user