Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| saving_flash_space [2014/10/12 22:19] – [assertions] admin | saving_flash_space [2019/12/04 15:06] (current) – [assertions] admin | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| ====== assertions ====== | ====== assertions ====== | ||
| #define ASSERT(expr) \ | #define ASSERT(expr) \ | ||
| - | | + | |
| - | {} \ | + | {} |
| - | else \ | + | else |
| - | aFailed(F_NUM, | + | aFailed(F_NUM, |
| | | ||
| - | trap() | + | |
| - | { | + | { |
| - | #ifndef NDEBUG | + | #ifndef NDEBUG |
| - | #define _BKPT __ASM(“bkpt 0″) | + | #define _BKPT __ASM(“bkpt 0″) |
| - | while(1); | + | while(1); |
| - | #endif | + | #endif |
| - | } | + | } |
| http:// | http:// | ||
| Line 30: | Line 30: | ||
| http:// | http:// | ||
| + | http:// | ||
| + | http:// | ||
| + | https:// | ||