Cosmetics
This commit is contained in:
@@ -104,9 +104,9 @@ static void processFlySkySensor(const uint8_t *packet)
|
|||||||
// The Noise and Signal sensors that are specified in dB send the absolute value
|
// The Noise and Signal sensors that are specified in dB send the absolute value
|
||||||
if (id == FS_ID_NOISE || id == FS_ID_RSSI)
|
if (id == FS_ID_NOISE || id == FS_ID_RSSI)
|
||||||
value = 135 - value;
|
value = 135 - value;
|
||||||
else if (id == FS_ID_SNR) {
|
else if (id == FS_ID_SNR) {
|
||||||
if(value>0) {
|
if (value > 0) {
|
||||||
value+=20;
|
value += 20;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (id == FS_ID_TEMP)
|
else if (id == FS_ID_TEMP)
|
||||||
|
|||||||
Reference in New Issue
Block a user