mirror of https://github.com/ArduPilot/ardupilot
AP_Logger: add and use RC_Channel_config.h
This commit is contained in:
parent
b26cd59da6
commit
3ba349fdb6
|
@ -129,6 +129,7 @@ bool AP_Logger_Backend::Write_Parameter(const AP_Param *ap,
|
|||
return Write_Parameter(name, ap->cast_to_float(type), default_val);
|
||||
}
|
||||
|
||||
#if AP_RC_CHANNEL_ENABLED
|
||||
// Write an RCIN packet
|
||||
void AP_Logger::Write_RCIN(void)
|
||||
{
|
||||
|
@ -179,6 +180,7 @@ void AP_Logger::Write_RCIN(void)
|
|||
};
|
||||
WriteBlock(&pkt2, sizeof(pkt2));
|
||||
}
|
||||
#endif // AP_RC_CHANNEL_ENABLED
|
||||
|
||||
// Write an SERVO packet
|
||||
void AP_Logger::Write_RCOUT(void)
|
||||
|
|
Loading…
Reference in New Issue