mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-04 22:17:01 +08:00
[app_server] send flight_altitude index to android device
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user