Pending refactor tweaks

This commit is contained in:
Scott Lahteine
2019-09-16 15:01:46 -05:00
parent 9c218381c5
commit d63e0f6d98
5 changed files with 33 additions and 32 deletions

View File

@ -70,10 +70,7 @@ void print_bin(const uint16_t val) {
void print_xyz(PGM_P const prefix, PGM_P const suffix, const float &x, const float &y, const float &z) {
serialprintPGM(prefix);
SERIAL_CHAR('(');
SERIAL_ECHO(x);
SERIAL_ECHOPAIR(", ", y, ", ", z);
SERIAL_CHAR(')');
SERIAL_ECHOPAIR(" " MSG_X, x, " " MSG_Y, y, " " MSG_Z, z);
if (suffix) serialprintPGM(suffix); else SERIAL_EOL();
}