[app_server] send flight_altitude index to android device

This commit is contained in:
Gautier Hattenberger
2014-06-04 13:43:32 +02:00
parent e8c825eb4e
commit 63f39de1eb
+3 -2
View File
@@ -185,12 +185,13 @@ int get_ac_data(char* InStr, char* RetBuf) {
//Get & create return string //Get & create return string
if ( AcID > 0 ) { if ( AcID > 0 ) {
//Dont search it, it is thereeee :) //Dont search it, it is thereeee :)
sprintf(RetBuf, "AppServer ACd %d %s %s %s %d %d\n", AcID, sprintf(RetBuf, "AppServer ACd %d %s %s %s %d %d %d\n", AcID,
DevNames[AcID].name, DevNames[AcID].name,
DevNames[AcID].type, DevNames[AcID].type,
DevNames[AcID].color, DevNames[AcID].color,
DevNames[AcID].dl_launch_ind, DevNames[AcID].dl_launch_ind,
DevNames[AcID].kill_thr_ind); DevNames[AcID].kill_thr_ind,
DevNames[AcID].flight_altitude_ind);
} }
return AcID; return AcID;
} }