Merge pull request #67 from dji-sdk/release/v3.2

FIX: fix the following issues
This commit is contained in:
DJI
2022-08-28 20:15:02 +08:00
committed by GitHub
19 changed files with 7 additions and 3 deletions

View File

@ -254,7 +254,7 @@ typedef struct {
} T_DjiFlightControllerHomeLocation; // pack(1) } T_DjiFlightControllerHomeLocation; // pack(1)
typedef struct { typedef struct {
char serialNum[16]; char serialNum[32];
} T_DjiFlightControllerGeneralInfo; } T_DjiFlightControllerGeneralInfo;
#pragma pack() #pragma pack()

View File

@ -37,7 +37,7 @@ extern "C" {
#define DJI_VERSION_MINOR 2 /*!< DJI SDK minor version num, when add functionality in a backwards compatible manner changes. Range from 0 to 99. */ #define DJI_VERSION_MINOR 2 /*!< DJI SDK minor version num, when add functionality in a backwards compatible manner changes. Range from 0 to 99. */
#define DJI_VERSION_MODIFY 0 /*!< DJI SDK modify version num, when have backwards compatible bug fixes changes. Range from 0 to 99. */ #define DJI_VERSION_MODIFY 0 /*!< DJI SDK modify version num, when have backwards compatible bug fixes changes. Range from 0 to 99. */
#define DJI_VERSION_BETA 0 /*!< DJI SDK version beta info, release version will be 0, when beta version release changes. Range from 0 to 255. */ #define DJI_VERSION_BETA 0 /*!< DJI SDK version beta info, release version will be 0, when beta version release changes. Range from 0 to 255. */
#define DJI_VERSION_BUILD 1540 /*!< DJI SDK version build info, when jenkins trigger build changes. Range from 0 to 65535. */ #define DJI_VERSION_BUILD 1558 /*!< DJI SDK version build info, when jenkins trigger build changes. Range from 0 to 65535. */
/* Exported types ------------------------------------------------------------*/ /* Exported types ------------------------------------------------------------*/

View File

@ -38,9 +38,13 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include "dji_platform.h"
#ifdef LIBUSB_INSTALLED
#include <libusb-1.0/libusb.h> #include <libusb-1.0/libusb.h>
#include "dji_platform.h" #endif
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {