Switches constants properly defined in Companion

This commit is contained in:
bsongis
2014-04-29 08:55:19 +02:00
parent 866e321b1a
commit 08284a69e6
3 changed files with 98 additions and 82 deletions
@@ -656,7 +656,7 @@ int OpenTxFirmware::getCapability(const Capability capability)
case LCDWidth:
return (IS_TARANIS(board) ? 212 : 128) ;
case GetThrSwitch:
return (IS_TARANIS(board) ? DSW_SF1 : DSW_THR) ;
return (IS_TARANIS(board) ? SWITCH_SF1 : SWITCH_THR) ;
case HasDisplayText:
case VirtualInputs:
return IS_TARANIS(board) ? 32 : 0;