mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-23 16:25:12 +03:00
[Companion] Fixes #4288
This commit is contained in:
parent
8c9f574f92
commit
764b18d883
2 changed files with 2 additions and 2 deletions
|
@ -1028,7 +1028,7 @@ bool GeneralSettings::switchPositionAllowedTaranis(int index) const
|
|||
if (index == 0)
|
||||
return true;
|
||||
|
||||
div_t qr = div(index-1, 3);
|
||||
div_t qr = div(abs(index)-1, 3);
|
||||
|
||||
if (index < 0 && switchConfig[qr.quot] != Board::SWITCH_3POS)
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue