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

@ -98,6 +98,9 @@ public:
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