Assert: Uppercase assertion macros
Macros should be all upper-cased. This is also kind of a wart that's been sticking out for quite a while now (we avoid prefixing underscores).
This commit is contained in:
1 parent
19d97f3fd9
commit
50a476c371
135 files changed
+719
-741
No files matched your search
@@ -161,7 +161,7 @@ static inline u16 dsp_op_read_reg(int _reg)
|
||||
case DSP_REG_ACM1:
|
||||
return g_dsp.r.ac[reg - DSP_REG_ACM0].m;
|
||||
default:
|
||||
_assert_msg_(DSP_INT, 0, "cannot happen");
|
||||
ASSERT_MSG(DSP_INT, 0, "cannot happen");
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user