Skip to content

Commit

Permalink
[CC1101] Fix direct reception (#1257)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgromes committed Oct 22, 2024
1 parent 61494b8 commit 8bc4b9a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/modules/CC1101/CC1101.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,12 @@ int16_t CC1101::receiveDirect(bool sync) {
// set RF switch (if present)
this->mod->setRfSwitchState(Module::MODE_RX);

// enable promiscuous mode - needed for protocols that decode in software (e.g. PagerClient)
int16_t state = setPromiscuousMode(true);
RADIOLIB_ASSERT(state);

// activate direct mode
int16_t state = directMode(sync);
state = directMode(sync);
RADIOLIB_ASSERT(state);

// start receiving
Expand Down

0 comments on commit 8bc4b9a

Please sign in to comment.