🎨 Misc. cleanup, comments
This commit is contained in:
committed by
Scott Lahteine
parent
2690bb1bc2
commit
d7b7b570c7
@ -79,7 +79,7 @@ uint8_t TouchButtons::read_buttons() {
|
||||
|
||||
#if ENABLED(TOUCH_SCREEN_CALIBRATION)
|
||||
const calibrationState state = touch_calibration.get_calibration_state();
|
||||
if (state >= CALIBRATION_TOP_LEFT && state <= CALIBRATION_BOTTOM_RIGHT) {
|
||||
if (WITHIN(state, CALIBRATION_TOP_LEFT, CALIBRATION_BOTTOM_RIGHT)) {
|
||||
if (touch_calibration.handleTouch(x, y)) ui.refresh();
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user