From 9deb0d7d1231ccbb449e9d1baa19e2aea5ad9b8f Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sat, 28 Jul 2018 13:33:59 +0900 Subject: [PATCH] AP_RSSI: minor format fix --- libraries/AP_RSSI/AP_RSSI.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/AP_RSSI/AP_RSSI.cpp b/libraries/AP_RSSI/AP_RSSI.cpp index 7d83921b21..e49793b6c2 100644 --- a/libraries/AP_RSSI/AP_RSSI.cpp +++ b/libraries/AP_RSSI/AP_RSSI.cpp @@ -132,16 +132,16 @@ float AP_RSSI::read_receiver_rssi() float receiver_rssi = 0.0f; switch (rssi_type) { - case RssiType::RSSI_DISABLED : + case RssiType::RSSI_DISABLED: receiver_rssi = 0.0f; break; - case RssiType::RSSI_ANALOG_PIN : + case RssiType::RSSI_ANALOG_PIN: receiver_rssi = read_pin_rssi(); break; - case RssiType::RSSI_RC_CHANNEL_VALUE : + case RssiType::RSSI_RC_CHANNEL_VALUE: receiver_rssi = read_channel_rssi(); break; - case RssiType::RSSI_RECEIVER : { + case RssiType::RSSI_RECEIVER: { int16_t rssi = RC_Channels::get_receiver_rssi(); if (rssi != -1) { receiver_rssi = rssi / 255.0;