mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
RC_Channel: minor format fixes
This commit is contained in:
parent
24c79acdc4
commit
aa7c9ec89e
@ -206,7 +206,6 @@ protected:
|
||||
// no action by default (e.g. Tracker, Sub, who do their own thing)
|
||||
};
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// pwm is stored here
|
||||
@ -272,7 +271,6 @@ private:
|
||||
|
||||
void reset_mode_switch();
|
||||
void read_mode_switch();
|
||||
|
||||
};
|
||||
|
||||
|
||||
@ -311,11 +309,11 @@ public:
|
||||
virtual RC_Channel *channel(uint8_t chan) = 0;
|
||||
|
||||
uint8_t get_radio_in(uint16_t *chans, const uint8_t num_channels); // reads a block of chanel radio_in values starting from channel 0
|
||||
// returns the number of valid channels
|
||||
// returns the number of valid channels
|
||||
|
||||
static uint8_t get_valid_channel_count(void); // returns the number of valid channels in the last read
|
||||
static int16_t get_receiver_rssi(void); // returns [0, 255] for receiver RSSI (0 is no link) if present, otherwise -1
|
||||
bool read_input(void); // returns true if new input has been read in
|
||||
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 reciever 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
|
||||
|
Loading…
Reference in New Issue
Block a user