AC_Logger: adjust for proximity status namespace change

This commit is contained in:
Peter Barker 2019-09-27 18:59:32 +10:00 committed by Randy Mackay
parent 64281eee60
commit daba5e26a5

View File

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