Skip to content

Commit

Permalink
[driver] radio: dw3110 Fix wrong mask in setEnableFastTurnaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Javask committed Aug 23, 2024
1 parent 63fc406 commit bc29e2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modm/driver/radio/dw3110/dw3110_phy_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ modm::Dw3110Phy<SpiMaster, Cs>::setEnableFastTurnaround(bool value)
RF_CALL(writeRegisterMasked<Dw3110::SYS_CFG, 1, 2>(or_mask_true, and_mask_true));
} else
{
constexpr static uint8_t or_mask_false[] = {0x04};
constexpr static uint8_t or_mask_false[] = {0x00};
constexpr static uint8_t and_mask_false[] = {0xFB};
RF_CALL(writeRegisterMasked<Dw3110::SYS_CFG, 1, 2>(or_mask_false, and_mask_false));
}
Expand Down

0 comments on commit bc29e2b

Please sign in to comment.