Line data Source code
1 : #include "Tracker.h" 2 : 3 : #include "RC_Channel_Tracker.h" 4 : 5 : // defining these two macros and including the RC_Channels_VarInfo 6 : // header defines the parameter information common to all vehicle 7 : // types 8 : #define RC_CHANNELS_SUBCLASS RC_Channels_Tracker 9 : #define RC_CHANNEL_SUBCLASS RC_Channel_Tracker 10 : 11 : #include <RC_Channel/RC_Channels_VarInfo.h> 12 : 13 : // note that this callback is not presently used on Plane: 14 32 : int8_t RC_Channels_Tracker::flight_mode_channel_number() const 15 : { 16 32 : return 1; // tracker does not have a flight mode channel 17 : }