mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-23 13:10:26 +09:00
84ad688473
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
11 lines
381 B
C
11 lines
381 B
C
#ifndef IxOsalOsAssert_H
|
|
#define IxOsalOsAssert_H
|
|
|
|
#define IX_OSAL_OS_ASSERT(c) if(!(c)) \
|
|
{ \
|
|
ixOsalLog (IX_OSAL_LOG_LVL_ERROR, IX_OSAL_LOG_DEV_STDOUT, "Assertion failure \n", 0, 0, 0, 0, 0, 0);\
|
|
while(1); \
|
|
}
|
|
|
|
#endif /* IxOsalOsAssert_H */
|