[RF69] fix maxErrBits width
This commit is contained in:
parent
564b277f6e
commit
04c72c7fab
1 changed files with 1 additions and 1 deletions
|
@ -814,7 +814,7 @@ int16_t RF69::enableSyncWordFiltering(uint8_t maxErrBits) {
|
|||
RADIOLIB_ASSERT(state);
|
||||
|
||||
// set maximum error bits
|
||||
return(this->mod->SPIsetRegValue(RADIOLIB_RF69_REG_SYNC_CONFIG, maxErrBits, 3, 0));
|
||||
return(this->mod->SPIsetRegValue(RADIOLIB_RF69_REG_SYNC_CONFIG, maxErrBits, 2, 0));
|
||||
}
|
||||
|
||||
int16_t RF69::disableSyncWordFiltering() {
|
||||
|
|
Loading…
Add table
Reference in a new issue