Fix for thePR #5267 (Introduce a +1234.56 format for over 999 steps/mm)

・Fix memory leak
This commit is contained in:
esenapaj 2016-11-21 22:31:01 +09:00
parent 0f891e848b
commit da67037550

View file

@ -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)