Skip to content

Commit d976e9f

Browse files
committed
changed dr16 to transmitter
1 parent 9c167fb commit d976e9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@ int main() {
222222
// clamp mouse y to the pitch limits from config
223223
float pitch_min = config->set_reference_limits[4][0][0];
224224
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; }
225+
if (transmitter_pos_y < pitch_min) { transmitter_pos_y = pitch_min; }
226+
if (transmitter_pos_y > pitch_max) { transmitter_pos_y = pitch_max; }
227227

228228
float chassis_vel_x = 0;
229229
float chassis_vel_y = 0;

0 commit comments

Comments
 (0)