Patch utility for debug-leveling

This commit is contained in:
Scott Lahteine 2018-02-07 01:14:58 -06:00
parent 252ae1b52d
commit 9509568b7e
2 changed files with 4 additions and 4 deletions

View File

@ -47,7 +47,7 @@ void safe_delay(millis_t ms) {
#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 };
@ -254,4 +254,4 @@ void safe_delay(millis_t ms) {
return &conv[1];
}
#endif // ULTRA_LCD
#endif // ULTRA_LCD || (DEBUG_LEVELING_FEATURE && (MESH_BED_LEVELING || (HAS_ABL && !ABL_PLANAR)))

View File

@ -29,7 +29,7 @@ void safe_delay(millis_t ms);
void crc16(uint16_t *crc, const void * const data, uint16_t cnt);
#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
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); }
#endif
#endif // ULTRA_LCD
#endif // ULTRA_LCD || (DEBUG_LEVELING_FEATURE && (MESH_BED_LEVELING || (HAS_ABL && !ABL_PLANAR)))
#endif // __UTILITY_H__