Browse Source

Fix typo...

vanilla_fb_2.0.x
Roxy-3D 5 years ago
committed by GitHub
parent
commit
2f7e5cf7dd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Marlin/src/libs/numtostr.cpp

2
Marlin/src/libs/numtostr.cpp

@ -312,7 +312,7 @@ const char* ftostr52sign(const float &f) {
// Convert signed float to string with +12.345 format
const char* ftostr53sign(const float &f) {
long i = (f * 1000 + (f < 0 ? -5: 5)) / 10;
long i = (f * 10000 + (f < 0 ? -5: 5)) / 10;
conv[0] = MINUSOR(i, '+');
conv[1] = DIGIMOD(i, 10000);
conv[2] = DIGIMOD(i, 1000);

Loading…
Cancel
Save