Skip to content

Commit

Permalink
Copter: SystemID: Fix unutilized variables
Browse files Browse the repository at this point in the history
  • Loading branch information
lthall committed Jan 30, 2025
1 parent d529601 commit 240e780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArduCopter/mode_systemid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ void ModeSystemId::exit()
// should be called at 100hz or more
void ModeSystemId::run()
{
float target_roll, target_pitch;
float target_roll, target_pitch = 0.0f;
float target_yaw_rate = 0.0f;
float pilot_throttle_scaled = 0.0f;
float target_climb_rate = 0.0f;
Expand Down

0 comments on commit 240e780

Please sign in to comment.