Skip to content

Commit

Permalink
Update arm_2d_utils.h
Browse files Browse the repository at this point in the history
  • Loading branch information
GorgonMeducer committed Nov 9, 2024
1 parent 84c1460 commit 085fa32
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Library/Include/arm_2d_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -952,6 +952,20 @@ Author: Adam Dunkels
if (!(__CONDITION)) { \
ARM_PT_GOTO_PREV_ENTRY(arm_fsm_rt_on_going); \
}

#define ARM_PT_WAIT_OBJ_UNTIL(__CONDITION, ...) \
ARM_PT_ENTRY() \
__VA_ARGS__; \
if (!(__CONDITION)) { \
ARM_PT_GOTO_PREV_ENTRY(arm_fsm_rt_wait_for_obj); \
}

#define ARM_PT_WAIT_RESOURCE_UNTIL(__CONDITION, ...) \
ARM_PT_ENTRY() \
__VA_ARGS__; \
if (!(__CONDITION)) { \
ARM_PT_GOTO_PREV_ENTRY(arm_fsm_rt_wait_for_res); \
}

#define ARM_PT_REPORT_STATUS(...) \
ARM_PT_ENTRY( \
Expand Down

0 comments on commit 085fa32

Please sign in to comment.