mirror of https://github.com/ArduPilot/ardupilot
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