Copter: bigger buf when sending frame string to frsky telem

This commit is contained in:
Randy Mackay 2017-01-05 13:45:53 +09:00
parent bc9facf608
commit 6b4acebd26

View File

@ -157,7 +157,7 @@ void Copter::init_ardupilot()
#if FRSKY_TELEM_ENABLED == ENABLED
// setup frsky, and pass a number of parameters to the library
char firmware_buf[40];
char firmware_buf[50];
sprintf(firmware_buf, FIRMWARE_STRING " %s", get_frame_string());
frsky_telemetry.init(serial_manager, firmware_buf,
get_frame_mav_type(),