Conditions cleanup

This commit is contained in:
Scott Lahteine authored and Scott Lahteine committed 2021-04-29 08:44:56 -05:00
1 parent 76eff24718
commit 7d3be90159
6 files changed
+11 -6

No files matched your search

+1 -1
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