AP_Logger: add and use RC_Channel_config.h

This commit is contained in:
Peter Barker 2023-03-19 21:02:24 +11:00 committed by Peter Barker
parent b26cd59da6
commit 3ba349fdb6
1 changed files with 2 additions and 0 deletions

View File

@ -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)