Browse Source

AP_RangeFinder: use HAL_LOGGING_ENABLED in place of HAL_BUILD_AP_PERIPH

gps-1.3.1
Peter Barker 3 years ago committed by Andrew Tridgell
parent
commit
8973dfa8e0
  1. 2
      libraries/AP_RangeFinder/AP_RangeFinder.cpp

2
libraries/AP_RangeFinder/AP_RangeFinder.cpp

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

Loading…
Cancel
Save