From 2c62a3a1c51a848c945886b0d3afc34afc1b4293 Mon Sep 17 00:00:00 2001 From: Stewart Loving-Gibbard Date: Fri, 4 Sep 2015 08:51:24 -0700 Subject: [PATCH] Rover: Adding Logging of RSSI data. --- APMrover2/Log.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/APMrover2/Log.cpp b/APMrover2/Log.cpp index b748d9ef1a..88236cc8c7 100644 --- a/APMrover2/Log.cpp +++ b/APMrover2/Log.cpp @@ -348,6 +348,9 @@ void Rover::Log_Write_RC(void) { DataFlash.Log_Write_RCIN(); DataFlash.Log_Write_RCOUT(); + if (rssi.enabled()) { + DataFlash.Log_Write_RSSI(rssi); + } } void Rover::Log_Write_Baro(void)