loconet: added Uhlenbrock Intellibox IR and Basic
Dieser Commit ist enthalten in:
Ursprung
ffc21c9bce
Commit
558dd7e445
@ -152,6 +152,8 @@ void Settings::commandStationChanged(LocoNetCommandStation value)
|
||||
|
||||
case LocoNetCommandStation::UhlenbrockIntellibox:
|
||||
case LocoNetCommandStation::UhlenbrockIBCOM:
|
||||
case LocoNetCommandStation::UhlenbrockIntelliboxIR:
|
||||
case LocoNetCommandStation::UhlenbrockIntelliboxBasic:
|
||||
locomotiveSlots = 32;
|
||||
f9f28 = LocoNetF9F28::UhlenbrockExtended;
|
||||
break;
|
||||
@ -168,6 +170,8 @@ void Settings::commandStationChanged(LocoNetCommandStation value)
|
||||
|
||||
case LocoNetCommandStation::UhlenbrockIntellibox:
|
||||
case LocoNetCommandStation::UhlenbrockIBCOM:
|
||||
case LocoNetCommandStation::UhlenbrockIntelliboxIR:
|
||||
case LocoNetCommandStation::UhlenbrockIntelliboxBasic:
|
||||
fastClockSyncEnabled = false;
|
||||
Attributes::setEnabled(fastClockSyncEnabled, false);
|
||||
break;
|
||||
|
||||
@ -33,21 +33,27 @@ enum class LocoNetCommandStation : uint16_t
|
||||
UhlenbrockIntellibox = 1,
|
||||
DigikeijsDR5000 = 2,
|
||||
UhlenbrockIBCOM = 3,
|
||||
UhlenbrockIntelliboxIR = 4,
|
||||
UhlenbrockIntelliboxBasic = 5,
|
||||
};
|
||||
|
||||
TRAINTASTIC_ENUM(LocoNetCommandStation, "loconet_command_station", 4,
|
||||
TRAINTASTIC_ENUM(LocoNetCommandStation, "loconet_command_station", 6,
|
||||
{
|
||||
{LocoNetCommandStation::Custom, "custom"},
|
||||
{LocoNetCommandStation::UhlenbrockIntellibox, "uhlenbrock_intellibox"},
|
||||
{LocoNetCommandStation::DigikeijsDR5000, "digikeijs_dr5000"},
|
||||
{LocoNetCommandStation::UhlenbrockIBCOM, "uhlenbrock_ibcom"},
|
||||
{LocoNetCommandStation::UhlenbrockIntelliboxIR, "uhlenbrock_intellibox_ir"},
|
||||
{LocoNetCommandStation::UhlenbrockIntelliboxBasic, "uhlenbrock_intellibox_basic"},
|
||||
});
|
||||
|
||||
inline constexpr std::array<LocoNetCommandStation, 4> LocoNetCommandStationValues{{
|
||||
inline constexpr std::array<LocoNetCommandStation, 6> LocoNetCommandStationValues{{
|
||||
LocoNetCommandStation::Custom,
|
||||
LocoNetCommandStation::DigikeijsDR5000,
|
||||
LocoNetCommandStation::UhlenbrockIntellibox,
|
||||
LocoNetCommandStation::UhlenbrockIBCOM,
|
||||
LocoNetCommandStation::UhlenbrockIntelliboxIR,
|
||||
LocoNetCommandStation::UhlenbrockIntelliboxBasic,
|
||||
}};
|
||||
|
||||
#endif
|
||||
|
||||
@ -378,5 +378,13 @@
|
||||
{
|
||||
"term": "output_channel:dcc_ext",
|
||||
"definition": "DCCext (RCN-213)"
|
||||
},
|
||||
{
|
||||
"term": "loconet_command_station:uhlenbrock_intellibox_ir",
|
||||
"definition": "Uhlenbrock Intellibox IR"
|
||||
},
|
||||
{
|
||||
"term": "loconet_command_station:uhlenbrock_intellibox_basic",
|
||||
"definition": "Uhlenbrock Intellibox Basic"
|
||||
}
|
||||
]
|
||||
Laden…
x
In neuem Issue referenzieren
Einen Benutzer sperren