nrf: use single byte crc
This commit is contained in:
parent
a93ad6a9ef
commit
1e7e82b2c5
|
@ -162,7 +162,7 @@ char nrf_snd_pkt_crc(int size, uint8_t * pkt){
|
||||||
|
|
||||||
nrf_write_reg(R_CONFIG,
|
nrf_write_reg(R_CONFIG,
|
||||||
R_CONFIG_PWR_UP| // Power on
|
R_CONFIG_PWR_UP| // Power on
|
||||||
R_CONFIG_CRCO // 2-byte CRC
|
R_CONFIG_EN_CRC // CRC on, single byte
|
||||||
);
|
);
|
||||||
|
|
||||||
nrf_write_long(C_W_TX_PAYLOAD,size,pkt);
|
nrf_write_long(C_W_TX_PAYLOAD,size,pkt);
|
||||||
|
|
Loading…
Reference in New Issue