3djc/enhance companion get capability (#4243)
* Add info on switches/sliders/pots setup when delivered from factory (other calls return user installed max possible) * Fix * getCapability() : Refine actoryInstalledSwitches, add NumTrimSwitches, remove FactoryInstalledPots & FactoryInstalledSliders; GeneralSettings() initialization : Use `FactoryInstalledSwitches` count instead of `Switches` for default setup, and also set up correct number of sliders for X9E (4) and X7 (0). * Enum order cosmetics. [ci skip]
This commit is contained in:
@@ -80,8 +80,6 @@ enum Capability {
|
||||
Mixes,
|
||||
Timers,
|
||||
TimersName,
|
||||
CustomFunctions,
|
||||
SafetyChannelCustomFunction,
|
||||
VoicesAsNumbers,
|
||||
VoicesMaxLength,
|
||||
MultiLangVoice,
|
||||
@@ -89,7 +87,11 @@ enum Capability {
|
||||
Pots,
|
||||
Sliders,
|
||||
Switches,
|
||||
FactoryInstalledSwitches,
|
||||
SwitchesPositions,
|
||||
NumTrimSwitches,
|
||||
CustomFunctions,
|
||||
SafetyChannelCustomFunction,
|
||||
LogicalSwitches,
|
||||
CustomAndSwitches,
|
||||
HasNegAndSwitches,
|
||||
|
||||
Reference in New Issue
Block a user