Go to the documentation of this file.00001
00019 #ifndef DJI_VERSION_H
00020 #define DJI_VERSION_H
00021
00022 #include <stdint.h>
00023
00024 #define MAKE_VERSION(a, b, c, d) \
00025 (((a << 24) & 0xff000000) | ((b << 16) & 0x00ff0000) | ((c << 8) & 0x0000ff00) | \
00026 (d & 0x000000ff))
00027
00028 namespace DJI
00029 {
00030 namespace onboardSDK
00031 {
00033 typedef uint32_t Version;
00034
00035 const Version versionM100_23 = (MAKE_VERSION(2, 3, 10, 0));
00036 const Version versionM100_31 = (MAKE_VERSION(3, 1, 10, 0));
00037 const Version versionA3_31 = (MAKE_VERSION(3, 1, 100, 0));
00038 const Version versionA3_32 = (MAKE_VERSION(3, 2, 0, 0));
00039
00040 #ifdef SDK_DEV
00041 #include "dev.h"
00042 #endif // SDK_DEV
00043
00044 }
00045 }
00046
00047 #endif // DJI_VERSION_H