Skip to content

Commit

Permalink
ArduPlane: let AHRS get the airspeed sensor from the singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbarker committed Nov 11, 2020
1 parent 13d8121 commit cd10d2c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ArduPlane/system.cpp
Expand Up @@ -100,9 +100,6 @@ void Plane::init_ardupilot()
g2.efi.init();
#endif

// give AHRS the airspeed sensor
ahrs.set_airspeed(&airspeed);

// GPS Initialization
gps.set_log_gps_bit(MASK_LOG_GPS);
gps.init(serial_manager);
Expand Down

0 comments on commit cd10d2c

Please sign in to comment.