mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_Logger: use beacon singleton
This commit is contained in:
parent
478c62b5ac
commit
d9c30f489f
@ -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
|
||||
if (ahrs.get_beacon() != nullptr) {
|
||||
if (AP::beacon() != nullptr) {
|
||||
uint8_t ID;
|
||||
float rng;
|
||||
float innovVar;
|
||||
|
Loading…
Reference in New Issue
Block a user