fix(bw): unshifted trims on XLite radios should always adjust elevator and aileron (#5580)

This commit is contained in:
philmoz
2024-10-08 10:43:14 +10:00
committed by GitHub
parent 4c82eaddbe
commit fcc75bd6b7
3 changed files with 31 additions and 19 deletions
+1 -8
View File
@@ -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();
}