Fix typo
This commit is contained in:
parent
a843375c7e
commit
e19351ab91
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
// Bit manioulation
|
// Bit manipulation
|
||||||
#define BIT(mask) (1 << (mask))
|
#define BIT(mask) (1 << (mask))
|
||||||
#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)))
|
||||||
|
Loading…
Reference in New Issue
Block a user