NEW: release DJI Payload-SDK version 3.7
Signed-off-by: Martin <Martin@dji.com>
This commit is contained in:
@ -32,6 +32,7 @@
|
||||
#include "dji_flight_controller.h"
|
||||
#include "dji_logger.h"
|
||||
#include "dji_fc_subscription.h"
|
||||
#include "cmath"
|
||||
|
||||
#ifdef OPEN_CV_INSTALLED
|
||||
|
||||
@ -814,6 +815,8 @@ static T_DjiReturnCode DjiUser_FlightControlUpdateConfig(void)
|
||||
return DJI_ERROR_SYSTEM_MODULE_CODE_SYSTEM_ERROR;
|
||||
}
|
||||
|
||||
memset(jsonData, 0, fileSize);
|
||||
|
||||
UtilFile_GetFileDataByPath(tempFileDirPath, 0, fileSize, jsonData, &readRealSize);
|
||||
|
||||
jsonData[readRealSize] = '\0';
|
||||
|
||||
Reference in New Issue
Block a user