Conditions cleanup
This commit is contained in:
committed by
Scott Lahteine
parent
76eff24718
commit
7d3be90159
@ -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
|
||||
|
Reference in New Issue
Block a user