Add missing parantheses
This commit is contained in:
parent
f1981eb27b
commit
a23fa2ca9f
@ -7,6 +7,6 @@
|
|||||||
#define SET(var, mask) ((var) |= (uint8_t)BIT(mask))
|
#define SET(var, mask) ((var) |= (uint8_t)BIT(mask))
|
||||||
#define CLR(var, mask) ((var) &= (uint8_t)~(BIT(mask)))
|
#define CLR(var, mask) ((var) &= (uint8_t)~(BIT(mask)))
|
||||||
#define CHK(var, mask) ((var) & (uint8_t)BIT(mask))
|
#define CHK(var, mask) ((var) & (uint8_t)BIT(mask))
|
||||||
#define TOG(var, mask) ((var) ^= (uint8_t)BIT(mask)
|
#define TOG(var, mask) ((var) ^= (uint8_t)BIT(mask))
|
||||||
|
|
||||||
#endif /* COMMON_H */
|
#endif /* COMMON_H */
|
||||||
|
Loading…
Reference in New Issue
Block a user