AP_RangeFinder: disable logging for AP_Periph

This commit is contained in:
Andrew Tridgell 2019-10-19 15:28:27 +11:00
parent 3efd236c9b
commit 678b49883d

View File

@ -298,8 +298,9 @@ void RangeFinder::update(void)
drivers[i]->update(); drivers[i]->update();
} }
} }
#ifndef HAL_BUILD_AP_PERIPH
Log_RFND(); Log_RFND();
#endif
} }
bool RangeFinder::_add_backend(AP_RangeFinder_Backend *backend) bool RangeFinder::_add_backend(AP_RangeFinder_Backend *backend)