Alternative info screen (Prusa-style) (#12132)

* Fix Z value display
* Add HAS_PRINT_PROGRESS
* Alternative Info Screen option
* Add LCD_INFO_SCREEN_STYLE to example configs
This commit is contained in:
Scott Lahteine
2018-10-18 11:34:52 -05:00
committed by GitHub
parent 5b7dd553d3
commit 67a3c5a16a
141 changed files with 909 additions and 250 deletions

View File

@ -231,7 +231,8 @@ void safe_delay(millis_t ms) {
char* ftostr52sp(const float &f) {
long i = (f * 1000 + (f < 0 ? -5: 5)) / 10;
uint8_t dig;
conv[1] = MINUSOR(i, RJDIGIT(i, 10000));
conv[0] = MINUSOR(i, ' ');
conv[1] = RJDIGIT(i, 10000);
conv[2] = RJDIGIT(i, 1000);
conv[3] = DIGIMOD(i, 100);
@ -249,7 +250,7 @@ void safe_delay(millis_t ms) {
conv[4] = conv[5] = ' ';
conv[6] = ' ';
}
return &conv[1];
return conv;
}
#endif // ULTRA_LCD