AP_Logger: add a Write_Rally method

This commit is contained in:
Peter Barker 2019-03-28 17:45:53 +11:00 committed by Peter Barker
parent a1557184d5
commit a5f5b4349c
2 changed files with 6 additions and 0 deletions

View File

@ -703,6 +703,11 @@ void AP_Logger::Write_RallyPoint(uint8_t total,
FOR_EACH_BACKEND(Write_RallyPoint(total, sequence, rally_point));
}
void AP_Logger::Write_Rally()
{
FOR_EACH_BACKEND(Write_Rally());
}
uint32_t AP_Logger::num_dropped() const
{
if (_next_backend == 0) {

View File

@ -236,6 +236,7 @@ public:
void Write_RCIN(void);
void Write_RCOUT(void);
void Write_RSSI();
void Write_Rally();
void Write_Baro(uint64_t time_us=0);
void Write_Power(void);
void Write_AHRS2(AP_AHRS &ahrs);