DJI Payload SDK  1.5.3
Macros
Psdk Motor State

Macros

#define IS_PSDK_MOTOR_STATE(STATE)
 Judge whether input value is motor rotating state. More...
 

Detailed Description

Macro Definition Documentation

◆ IS_PSDK_MOTOR_STATE

#define IS_PSDK_MOTOR_STATE (   STATE)
Value:
(((STATE) == PSDK_MOTOR_STATE_ROTATING) || \
#define PSDK_MOTOR_STATE_ROTATING
Definition: psdk_cmdset_msg_push.h:166
#define PSDK_MOTOR_STATE_UNROTATING
Definition: psdk_cmdset_msg_push.h:167

Judge whether input value is motor rotating state.