You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
498 B
18 lines
498 B
7 years ago
|
#include "Sub.h"
|
||
|
|
||
|
#include "RC_Channel.h"
|
||
|
|
||
|
// defining these two macros and including the RC_Channels_VarInfo
|
||
|
// header defines the parameter information common to all vehicle
|
||
|
// types
|
||
|
#define RC_CHANNELS_SUBCLASS RC_Channels_Sub
|
||
|
#define RC_CHANNEL_SUBCLASS RC_Channel_Sub
|
||
|
|
||
|
#include <RC_Channel/RC_Channels_VarInfo.h>
|
||
|
|
||
|
// note that this callback is not presently used on Plane:
|
||
|
int8_t RC_Channels_Sub::flight_mode_channel_number() const
|
||
|
{
|
||
|
return 1; // sub does not have a flight mode channel
|
||
|
}
|