Skip to content

Commit 712bd60

Browse files
Fix typo p2
1 parent 7e42ef9 commit 712bd60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Inc/MockedDrivers/common.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ typedef enum
3535

3636
#define SET_BIT(REG, BIT) ((REG) |= (BIT))
3737

38-
#define CLEAR_BIT(REG, BIT) ((REG) &= = static_cast<uint32_t>(static_cast<uint32_t>(REG) & ~static_cast<uint32_t>(BIT))
38+
#define CLEAR_BIT(REG, BIT) ((REG) = static_cast<uint32_t>(static_cast<uint32_t>(REG) & ~static_cast<uint32_t>(BIT))
3939

4040
#define READ_BIT(REG, BIT) ((REG) & (BIT))
4141

0 commit comments

Comments
 (0)