Fix for thePR #5267 (Introduce a +1234.56 format for over 999 steps/mm)
・Fix memory leak
This commit is contained in:
parent
0f891e848b
commit
da67037550
|
@ -35,7 +35,7 @@ void safe_delay(millis_t ms) {
|
||||||
|
|
||||||
#if ENABLED(ULTRA_LCD)
|
#if ENABLED(ULTRA_LCD)
|
||||||
|
|
||||||
char conv[8];
|
char conv[9];
|
||||||
|
|
||||||
#define DIGIT(n) ('0' + (n))
|
#define DIGIT(n) ('0' + (n))
|
||||||
#define DIGIMOD(n, f) DIGIT((n)/(f) % 10)
|
#define DIGIMOD(n, f) DIGIT((n)/(f) % 10)
|
||||||
|
|
Loading…
Reference in a new issue