fix(bw): unshifted trims on XLite radios should always adjust elevator and aileron (#5580)
This commit is contained in:
@@ -41,12 +41,5 @@ __weak uint32_t readKeys()
|
||||
|
||||
__weak uint32_t readTrims()
|
||||
{
|
||||
uint32_t trims = _read_trims();
|
||||
|
||||
#if defined(PCBXLITE)
|
||||
if (_read_keys() & (1 << KEY_SHIFT))
|
||||
return ((trims & 0x03) << 6) | ((trims & 0x0c) << 2);
|
||||
#endif
|
||||
|
||||
return trims;
|
||||
return _read_trims();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user