We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d4a4ae commit aafe6d4Copy full SHA for aafe6d4
1 file changed
common/core/inc/ux_api.h
@@ -2685,6 +2685,10 @@ typedef struct UX_SYSTEM_SLAVE_STRUCT
2685
#define UX_SYSTEM_DEVICE_MAX_CLASS_GET() (1)
2686
#endif
2687
2688
+#define UX_SLAVE_DEVICE_CHECK_STATE(state) \
2689
+ (_ux_system_slave->ux_system_slave_device.ux_slave_device_state & (state)) ? UX_TRUE : UX_FALSE \
2690
+
2691
2692
typedef struct UX_SYSTEM_OTG_STRUCT
2693
{
2694
0 commit comments