Serial refactor. Default 8-bit ECHO to int, not char (#20985)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
@ -120,7 +120,7 @@ public:
|
||||
|
||||
static void report(const uint8_t index) {
|
||||
if (index < Cfg::SIZE) {
|
||||
SERIAL_ECHOPAIR("bresenham ", int(index), " : (", dividend[index], "/", divisor, ") ");
|
||||
SERIAL_ECHOPAIR("bresenham ", index, " : (", dividend[index], "/", divisor, ") ");
|
||||
if (counter[index] >= 0) SERIAL_CHAR(' ');
|
||||
if (labs(counter[index]) < 100) { SERIAL_CHAR(' '); if (labs(counter[index]) < 10) SERIAL_CHAR(' '); }
|
||||
SERIAL_ECHO(counter[index]);
|
||||
|
Reference in New Issue
Block a user