AC_Logger: adjust for proximity status namespace change
This commit is contained in:
parent
64281eee60
commit
daba5e26a5
@ -928,7 +928,7 @@ void AP_Logger::Write_Beacon(AP_Beacon &beacon)
|
||||
void AP_Logger::Write_Proximity(AP_Proximity &proximity)
|
||||
{
|
||||
// exit immediately if not enabled
|
||||
if (proximity.get_status() == AP_Proximity::Proximity_NotConnected) {
|
||||
if (proximity.get_status() == AP_Proximity::Status::NotConnected) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user