Skip to content

Commit

Permalink
improve dummy link threading
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Jan 8, 2024
1 parent 9bd6e64 commit 62b5a3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/WBTxRx.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ class WBTxRx {
// Used by OpenHD on the ground to notify the user of disconnecting card(s)
// (Hints at power issues)
bool get_card_has_disconnected(int card_idx);
// For development only
std::shared_ptr<DummyLink> get_dummy_link();
public:
struct SessionExtraData{
// OpenHD uses different carrier bandwidths for the session key data (20Mhz, such that it can be always received on 20Mhz BW)
Expand Down Expand Up @@ -364,8 +366,6 @@ class WBTxRx {
// Adjustment of which card is used for injecting packets in case there are multiple RX card(s)
// (Of all cards currently receiving data, find the one with the highest reported dBm)
void switch_tx_card_if_needed();
// For development only
std::shared_ptr<DummyLink> get_dummy_link();
private:
// These are 'extra' for calculating some channel pollution value
uint32_t m_pollution_total_rx_packets=0;
Expand Down

0 comments on commit 62b5a3e

Please sign in to comment.