Browse Source

AP_Logger: use beacon singleton

master
Peter Barker 6 years ago committed by Randy Mackay
parent
commit
d9c30f489f
  1. 2
      libraries/AP_Logger/LogFile.cpp

2
libraries/AP_Logger/LogFile.cpp

@ -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;

Loading…
Cancel
Save