NEW: add the M30T model stp and esp32 toolchain support
Signed-off-by: DJI-Martin <DJI-Martin@dji.com>
This commit is contained in:
@ -252,6 +252,10 @@ typedef struct {
|
||||
dji_f64_t latitude; /*!< unit: rad */
|
||||
dji_f64_t longitude; /*!< unit: rad */
|
||||
} T_DjiFlightControllerHomeLocation; // pack(1)
|
||||
|
||||
typedef struct {
|
||||
char serialNum[16];
|
||||
} T_DjiFlightControllerGeneralInfo;
|
||||
#pragma pack()
|
||||
|
||||
/* Exported functions --------------------------------------------------------*/
|
||||
@ -585,6 +589,14 @@ T_DjiReturnCode DjiFlightController_ExecuteEmergencyBrakeAction(void);
|
||||
*/
|
||||
T_DjiReturnCode DjiFlightController_CancelEmergencyBrakeAction(void);
|
||||
|
||||
/**
|
||||
* @brief Get general info of the aircraft.
|
||||
* @param generalInfo: the struct stored the serial num which contains a array of chars var in case the user gives an
|
||||
* illegal length character pointer
|
||||
* @return Execution result.
|
||||
*/
|
||||
T_DjiReturnCode DjiFlightController_GetGeneralInfo(T_DjiFlightControllerGeneralInfo *generalInfo);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user