DJI Payload SDK  1.5.3
Macros
Psdk BatteryPowerState

Macros

#define IS_PSDK_BATTERY_POWER_STATE(STATE)
 Judge whether input value is battery power state. More...
 

Detailed Description

Macro Definition Documentation

◆ IS_PSDK_BATTERY_POWER_STATE

#define IS_PSDK_BATTERY_POWER_STATE (   STATE)
Value:
(((STATE) == PSDK_BATTERY_POWER_ON) || \
((STATE) == PSDK_BATTERY_POWER_OFF))
#define PSDK_BATTERY_POWER_ON
Definition: psdk_cmdset_msg_push.h:87
#define PSDK_BATTERY_POWER_OFF
Definition: psdk_cmdset_msg_push.h:88

Judge whether input value is battery power state.