Skip to content

Commit

Permalink
Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
pu2clr committed Jan 27, 2025
1 parent ed8ab4c commit 9d1b31f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/SI4844.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ void SI4844::setBand(uint8_t bandIndex)
*/
void SI4844::setBandSlideSwitch()
{

this->waitToSend();
this->getAllReceiverInfo();
uint8_t bandIndex = this->all_receiver_status.refined.BANDIDX;

Expand All @@ -631,6 +631,7 @@ void SI4844::setBandSlideSwitch()
this->reset();
}

this->waitToSend();
// Checks if the current band is a custom band
BandNode *bandNode = this->findCustomBand(bandIndex);
if ( bandNode == nullptr ) {
Expand Down

0 comments on commit 9d1b31f

Please sign in to comment.