Add code_value_short and SERIAL_CHAR
This commit is contained in:
parent
e0d4368cb5
commit
1e5c18bb14
5 changed files with 122 additions and 114 deletions
|
|
@ -268,8 +268,7 @@ void MarlinSerial::printFloat(double number, uint8_t digits) {
|
|||
print(int_part);
|
||||
|
||||
// Print the decimal point, but only if there are digits beyond
|
||||
if (digits > 0)
|
||||
print(".");
|
||||
if (digits > 0) print('.');
|
||||
|
||||
// Extract digits from the remainder one at a time
|
||||
while (digits-- > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue