File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
TargetLibraries/PULPOpen/inc Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 3737#error "[mchan_v6.h] Nor MCHAN_EVENT nor MCHAN_POLLED defined!"
3838#endif
3939
40+ #if defined(MCHAN_EVENT ) && defined(MCHAN_POLLED )
41+ #error "[mchan_v6.h] Define either MCHAN_EVENT or MCHAN_POLLED, not both!"
42+ #endif
43+
4044#if defined(MCHAN_EVENT ) && !defined(MCHAN_EVENT_BIT )
4145#error \
4246 "[mchan_v6.h] MCHAN_EVENT_BIT should be defined when using events as signalization!"
Original file line number Diff line number Diff line change 3737#error "[mchan_v7.h] Nor MCHAN_EVENT nor MCHAN_POLLED defined!"
3838#endif
3939
40+ #if defined(MCHAN_EVENT ) && defined(MCHAN_POLLED )
41+ #error "[mchan_v7.h] Define either MCHAN_EVENT or MCHAN_POLLED, not both!"
42+ #endif
43+
4044#if defined(MCHAN_EVENT ) && !defined(MCHAN_EVENT_BIT )
4145#error \
4246 "[mchan_v7.h] MCHAN_EVENT_BIT should be defined when using events as signalization!"
You can’t perform that action at this time.
0 commit comments