We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c167fb commit d976e9fCopy full SHA for d976e9f
src/main.cpp
@@ -222,8 +222,8 @@ int main() {
222
// clamp mouse y to the pitch limits from config
223
float pitch_min = config->set_reference_limits[4][0][0];
224
float pitch_max = config->set_reference_limits[4][0][1];
225
- if (dr16_pos_y < pitch_min) { dr16_pos_y = pitch_min; }
226
- if (dr16_pos_y > pitch_max) { dr16_pos_y = pitch_max; }
+ if (transmitter_pos_y < pitch_min) { transmitter_pos_y = pitch_min; }
+ if (transmitter_pos_y > pitch_max) { transmitter_pos_y = pitch_max; }
227
228
float chassis_vel_x = 0;
229
float chassis_vel_y = 0;
0 commit comments