[CC1101] Added missing infinite packet in direct mode
This commit is contained in:
parent
450a46af84
commit
0360f2d50c
1 changed files with 1 additions and 0 deletions
|
@ -904,6 +904,7 @@ int16_t CC1101::directMode() {
|
|||
|
||||
// set continuous mode
|
||||
state |= SPIsetRegValue(CC1101_REG_PKTCTRL0, CC1101_PKT_FORMAT_SYNCHRONOUS, 5, 4);
|
||||
state |= SPIsetRegValue(CC1101_REG_PKTCTRL0, CC1101_LENGTH_CONFIG_INFINITE, 1, 0);
|
||||
return(state);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue