Replace 'const float &' with 'const_float_t' (#21505)

This commit is contained in:
Scott Lahteine 2021-04-01 17:59:57 -05:00 committed by GitHub
parent 600ef1e47c
commit 62f37669dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
79 changed files with 376 additions and 366 deletions

View file

@ -91,7 +91,7 @@ void print_bin(uint16_t val) {
}
}
void print_xyz(const float &x, const float &y, const float &z, PGM_P const prefix/*=nullptr*/, PGM_P const suffix/*=nullptr*/) {
void print_xyz(const_float_t x, const_float_t y, const_float_t z, PGM_P const prefix/*=nullptr*/, PGM_P const suffix/*=nullptr*/) {
if (prefix) serialprintPGM(prefix);
SERIAL_ECHOPAIR_P(SP_X_STR, x, SP_Y_STR, y, SP_Z_STR, z);
if (suffix) serialprintPGM(suffix); else SERIAL_EOL();