forked from TencentOS/TencentOS-tiny
Update nrf24l01.c
As nrf24l01 datasheet show, this should be 'set to 1', not 'clear to 0', so nrf_clear_reg_bit -> nrf_set_reg_bit
This commit is contained in:
parent
26afeca15d
commit
01b178164d
|
|
@ -53,7 +53,7 @@ void nrf_enable_max_rt_irq() {
|
|||
}
|
||||
|
||||
void nrf_disable_max_rt_irq() {
|
||||
nrf_clear_reg_bit(REG_CONFIG, MASK_MAX_RT);
|
||||
nrf_set_reg_bit(REG_CONFIG, MASK_MAX_RT);
|
||||
}
|
||||
|
||||
void nrf_set_rf_channel(uint8_t channel) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue