Rename float32 => float52, etc.

This commit is contained in:
Scott Lahteine
2018-05-01 03:59:17 -05:00
parent 32b6a3ad12
commit 5aff43e65e
5 changed files with 30 additions and 30 deletions

View File

@@ -124,7 +124,7 @@ void safe_delay(millis_t ms) {
}
// Convert signed float to fixed-length string with 023.45 / -23.45 format
char* ftostr32(const float &f) {
char* ftostr52(const float &f) {
long i = (f * 1000 + (f < 0 ? -5: 5)) / 10;
conv[1] = MINUSOR(i, DIGIMOD(i, 10000));
conv[2] = DIGIMOD(i, 1000);