Skip to content

Commit

Permalink
Update RF24Network.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
TMRh20 committed Sep 23, 2023
1 parent 7698c29 commit 707b5ce
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions RF24Network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,8 @@ void ESBNetwork<radio_t>::begin(uint8_t _channel, uint16_t _node_address)
radio.setChannel(_channel);

#if defined (multichannel)
baseChannel = USE_CURRENT_CHANNEL == 255 ? 97 : _channel;
//Serial.print("Base Chan:");
//Serial.println(baseChannel);
networkChannel = baseChannel;
baseChannel = USE_CURRENT_CHANNEL == 255 ? radio.getChannel() : _channel;
networkChannel = baseChannel;
#endif
//radio.enableDynamicAck();
radio.setAutoAck(1);
Expand Down

0 comments on commit 707b5ce

Please sign in to comment.