RC_Channel: added get_type() method

This commit is contained in:
Andrew Tridgell 2019-05-10 11:56:51 +10:00 committed by Randy Mackay
parent eaeebeba53
commit 45e994c1fb

View File

@ -97,7 +97,10 @@ public:
void set_and_save_radio_trim(int16_t val) { radio_trim.set_and_save_ifchanged(val);}
bool min_max_configured() const;
// return the type of the channel (angle or range)
uint8_t get_type() const { return type_in; }
private:
// pwm is stored here