Copter: use RSSI singleton for logging

This commit is contained in:
Peter Barker 2019-04-06 09:48:42 +11:00 committed by Andrew Tridgell
parent 5e3be86665
commit 41a20504b2

View File

@ -341,7 +341,7 @@ void Copter::ten_hz_logging_loop()
if (should_log(MASK_LOG_RCIN)) {
logger.Write_RCIN();
if (rssi.enabled()) {
logger.Write_RSSI(rssi);
logger.Write_RSSI();
}
}
if (should_log(MASK_LOG_RCOUT)) {