Skip to content

Commit

Permalink
RC_Channel: bind receivers directly via AP_RCProtocol library
Browse files Browse the repository at this point in the history
... rather than via RC_Channels and the HAL and *then* to the AP_RCProtocol library...
  • Loading branch information
peterbarker committed Feb 11, 2025
1 parent b9a0dbc commit f89cfe3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion libraries/RC_Channel/RC_Channel.h
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,6 @@ class RC_Channels {
static int16_t get_receiver_link_quality(void); // returns 0-100 % of last 100 packets received at receiver are valid
bool read_input(void); // returns true if new input has been read in
static void clear_overrides(void); // clears any active overrides
static bool receiver_bind(const int dsmMode); // puts the receiver in bind mode if present, returns true if success
static void set_override(const uint8_t chan, const int16_t value, const uint32_t timestamp_ms = 0); // set a channels override value
static bool has_active_overrides(void); // returns true if there are overrides applied that are valid

Expand Down
5 changes: 0 additions & 5 deletions libraries/RC_Channel/RC_Channels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,6 @@ bool RC_Channels::has_active_overrides()
return false;
}

bool RC_Channels::receiver_bind(const int dsmMode)
{
return hal.rcin->rc_bind(dsmMode);
}


// support for auxiliary switches:
// read_aux_switches - checks aux switch positions and invokes configured actions
Expand Down

0 comments on commit f89cfe3

Please sign in to comment.