Apply loop shorthand macros (#17159)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2020-03-13 23:18:16 -05:00
1 parent a96be32fae
commit 118bd2f8b2
93 files changed
+465 -505

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@
void report_xyze(const xyze_pos_t &pos, const uint8_t n=XYZE, const uint8_t precision=3) {
char str[12];
for (uint8_t a = 0; a < n; a++) {
LOOP_L_N(a, n) {
SERIAL_CHAR(' ', axis_codes[a], ':');
SERIAL_ECHO(dtostrf(pos[a], 1, precision, str));
}