We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e42ef9 commit 712bd60Copy full SHA for 712bd60
1 file changed
Inc/MockedDrivers/common.hpp
@@ -35,7 +35,7 @@ typedef enum
35
36
#define SET_BIT(REG, BIT) ((REG) |= (BIT))
37
38
-#define CLEAR_BIT(REG, BIT) ((REG) &= = static_cast<uint32_t>(static_cast<uint32_t>(REG) & ~static_cast<uint32_t>(BIT))
+#define CLEAR_BIT(REG, BIT) ((REG) = static_cast<uint32_t>(static_cast<uint32_t>(REG) & ~static_cast<uint32_t>(BIT))
39
40
#define READ_BIT(REG, BIT) ((REG) & (BIT))
41
0 commit comments