Removed extra parentheses.

This commit is contained in:
mikeller 2018-06-03 21:43:15 +12:00
parent a9c1f02afb
commit 76a1e81d97
1 changed files with 1 additions and 1 deletions

View File

@ -681,7 +681,7 @@ void updateRSSI(timeUs_t currentTimeUs)
uint16_t getRssi(void) uint16_t getRssi(void)
{ {
return ((rxConfig()->rssi_scale / 100.0f) * rssi) + (rxConfig()->rssi_offset * RSSI_OFFSET_SCALING); return rxConfig()->rssi_scale / 100.0f * rssi + rxConfig()->rssi_offset * RSSI_OFFSET_SCALING;
} }
uint8_t getRssiPercent(void) uint8_t getRssiPercent(void)