AP_Logger: use beacon singleton

This commit is contained in:
Peter Barker 2019-06-27 11:59:45 +10:00 committed by Randy Mackay
parent 478c62b5ac
commit d9c30f489f
1 changed files with 1 additions and 1 deletions

View File

@ -829,7 +829,7 @@ void AP_Logger::Write_EKF2(AP_AHRS_NavEKF &ahrs)
} }
// write range beacon fusion debug packet if the range value is non-zero // write range beacon fusion debug packet if the range value is non-zero
if (ahrs.get_beacon() != nullptr) { if (AP::beacon() != nullptr) {
uint8_t ID; uint8_t ID;
float rng; float rng;
float innovVar; float innovVar;