Browse Source

Plane: consolidate into a single frsky.init()

mission-4.1.18
floaledm 8 years ago committed by Tom Pittenger
parent
commit
4f6a8a017c
  1. 2
      ArduPlane/system.cpp

2
ArduPlane/system.cpp

@ -162,7 +162,7 @@ void Plane::init_ardupilot() @@ -162,7 +162,7 @@ void Plane::init_ardupilot()
// setup frsky, and pass a number of parameters to the library
frsky_telemetry.init(serial_manager, FIRMWARE_STRING,
MAV_TYPE_FIXED_WING,
&g.fs_batt_voltage, &g.fs_batt_mah);
&g.fs_batt_voltage, &g.fs_batt_mah, nullptr);
#endif
mavlink_system.sysid = g.sysid_this_mav;

Loading…
Cancel
Save