Add code_value_short and SERIAL_CHAR
This commit is contained in:
1 parent
e0d4368cb5
commit
1e5c18bb14
5 files changed
+122
-114
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user