Copter: use a constant string for frsky_telemetry init

This commit is contained in:
Andrew Tridgell 2016-08-25 11:00:31 +10:00
parent a4ca4dbd9e
commit ea7e62df17
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ void Copter::init_ardupilot()
#if FRSKY_TELEM_ENABLED == ENABLED
// setup frsky, and pass a number of parameters to the library
frsky_telemetry.init(serial_manager, FIRMWARE_STRING, FRAME_CONFIG_STRING,
frsky_telemetry.init(serial_manager, FIRMWARE_STRING " " FRAME_CONFIG_STRING,
FRAME_MAV_TYPE,
&g.fs_batt_voltage, &g.fs_batt_mah, &ap.value, &home_distance, &home_bearing);
#endif