Conditions cleanup

This commit is contained in:
Scott Lahteine
2020-08-06 04:19:56 -05:00
committed by Scott Lahteine
parent 76eff24718
commit 7d3be90159
6 changed files with 11 additions and 6 deletions

View File

@ -451,7 +451,7 @@ void ubl_map_screen() {
#if IS_KINEMATIC
// Index of the mesh point upon entry
const uint32_t old_pos_index = grid_index(x_plot, y_plot);
const int32_t old_pos_index = grid_index(x_plot, y_plot);
// Direction from new (unconstrained) encoder value
const int8_t step_dir = int32_t(ui.encoderPosition) < old_pos_index ? -1 : 1;
#endif