mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 21:35:44 +03:00
Removed extra parentheses.
This commit is contained in:
parent
a9c1f02afb
commit
76a1e81d97
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue