Wolfgang Denk | 4646d2a | 2006-05-30 15:56:48 +0200 | [diff] [blame] | 1 | #ifndef IxOsalOsAssert_H |
2 | #define IxOsalOsAssert_H | ||||
3 | |||||
4 | #define IX_OSAL_OS_ASSERT(c) if(!(c)) \ | ||||
5 | { \ | ||||
6 | ixOsalLog (IX_OSAL_LOG_LVL_ERROR, IX_OSAL_LOG_DEV_STDOUT, "Assertion failure \n", 0, 0, 0, 0, 0, 0);\ | ||||
7 | while(1); \ | ||||
8 | } | ||||
9 | |||||
Wolfgang Denk | c16aa05 | 2006-05-30 15:58:20 +0200 | [diff] [blame] | 10 | #endif /* IxOsalOsAssert_H */ |