mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Changes from review.
This commit is contained in:
parent
e75eaf85ce
commit
6eea0d45ca
5 changed files with 6 additions and 6 deletions
|
@ -1015,7 +1015,7 @@ extern "C" {
|
|||
|
||||
uint16_t getRssi(void) { return rssi; }
|
||||
|
||||
uint8_t getRssiPercent(void) { return rssi * 100 / 1024; }
|
||||
uint8_t getRssiPercent(void) { return scaleRange(rssi, 0, RSSI_MAX_VALUE, 0, 100); }
|
||||
|
||||
uint16_t getCoreTemperatureCelsius(void) { return simulationCoreTemperature; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue