Apply _AXIS macro

This commit is contained in:
Scott Lahteine
2018-05-13 03:44:24 -05:00
parent 99ecdf59af
commit 08e36e264e
10 changed files with 20 additions and 20 deletions

View File

@@ -293,7 +293,7 @@ int32_t I2CPositionEncoder::get_axis_error_steps(const bool report) {
error = (encoderCountInStepperTicksScaled - target);
//suppress discontinuities (might be caused by bad I2C readings...?)
bool suppressOutput = (ABS(error - errorPrev) > 100);
const bool suppressOutput = (ABS(error - errorPrev) > 100);
if (report) {
SERIAL_ECHO(axis_codes[encoderAxis]);