diff --git a/libraries/AP_Logger/AP_Logger.cpp b/libraries/AP_Logger/AP_Logger.cpp index aa12bd40e7..6ea8ad4dc8 100644 --- a/libraries/AP_Logger/AP_Logger.cpp +++ b/libraries/AP_Logger/AP_Logger.cpp @@ -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) { diff --git a/libraries/AP_Logger/AP_Logger.h b/libraries/AP_Logger/AP_Logger.h index c94b45f35c..6b832cd782 100644 --- a/libraries/AP_Logger/AP_Logger.h +++ b/libraries/AP_Logger/AP_Logger.h @@ -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);