* Fix issue #4961

Fix yet another reference to HORUS_OR_TARANIS that should be IS_ARM
Also rename C9X function to export/import to be inline with the rest

* Another two IS_ARM/HORUS_TARANIS mixups

* Fix condition

* Simplify/fix two if statements

* Really fix if statement
This commit is contained in:
Arne Schwabe
2017-08-12 00:26:28 +02:00
committed by Bertrand Songis
parent b3e9d8d97d
commit 87295776ff
6 changed files with 28 additions and 32 deletions
@@ -561,7 +561,7 @@ int OpenTxFirmware::getCapability(::Capability capability)
case ChannelsName:
return (IS_ARM(board) ? (HAS_LARGE_LCD(board) ? 6 : 4) : 0);
case HasCvNames:
return (IS_HORUS_OR_TARANIS(board) ? 1 : 0);
return (IS_ARM(board) ? 1 : 0);
case Telemetry:
if (IS_2560(board) || IS_ARM(board) || id.contains("frsky") || id.contains("telemetrez"))
return TM_HASTELEMETRY | TM_HASOFFSET | TM_HASWSHH;