Fix 'fade' may be uninitialised warning in Spektrum RSSI handling.
This commit is contained in:
parent
9d7c8fbd46
commit
4e6965d869
|
@ -162,9 +162,7 @@ void spektrumHandleRSSI(volatile uint8_t spekFrame[]) {
|
|||
(system == SPEKTRUM_DSMX_11) ) ){
|
||||
spektrumSatInternal =false; // Nope, this is an externally bound Sat Rx
|
||||
}
|
||||
}
|
||||
|
||||
if (!spektrumSatInternal) {
|
||||
} else {
|
||||
// External Rx, bind values 4, 6, 8, 10
|
||||
fade = ((spekFrame[0] << 8) + spekFrame[1]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue