mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_RangeFinder: use HAL_LOGGING_ENABLED in place of HAL_BUILD_AP_PERIPH
This commit is contained in:
parent
70d98336bc
commit
8973dfa8e0
@ -310,7 +310,7 @@ void RangeFinder::update(void)
|
||||
drivers[i]->update();
|
||||
}
|
||||
}
|
||||
#ifndef HAL_BUILD_AP_PERIPH
|
||||
#if HAL_LOGGING_ENABLED
|
||||
Log_RFND();
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user