AP_RangeFinder: use HAL_LOGGING_ENABLED in place of HAL_BUILD_AP_PERIPH

This commit is contained in:
Peter Barker 2021-11-23 16:53:24 +11:00 committed by Andrew Tridgell
parent 70d98336bc
commit 8973dfa8e0

View File

@ -310,7 +310,7 @@ void RangeFinder::update(void)
drivers[i]->update(); drivers[i]->update();
} }
} }
#ifndef HAL_BUILD_AP_PERIPH #if HAL_LOGGING_ENABLED
Log_RFND(); Log_RFND();
#endif #endif
} }