Update such that tests pass for v1.2
This includes minor updates for the th different MCU variant, and bugfixes. Resolves #7
This commit is contained in:
@@ -85,9 +85,9 @@
|
||||
|
||||
#define SET_STRIDE_TO(var, stride_width, index, val) \
|
||||
do { \
|
||||
uint32_t mask = (1 << stride_width) - 1; \
|
||||
CLR(var, mask << (index * stride_width)); \
|
||||
SET(var, val << (index * stride_width)); \
|
||||
uint32_t mask = (1 << (stride_width)) - 1; \
|
||||
CLR(var, mask << ((index) * (stride_width))); \
|
||||
SET(var, (val) << ((index) * (stride_width))); \
|
||||
} while (0)
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user