mirror of
https://github.com/preble/libpinproc
synced 2026-02-24 18:25:23 +01:00
Only use switch columns 8 and 9 with WPC and not WPC95.
This commit is contained in:
@@ -38,6 +38,8 @@ void ConfigureSwitches(PRHandle proc, YAML::Node& yamlDoc)
|
|||||||
// Configure switch controller registers (if the defaults aren't acceptable)
|
// Configure switch controller registers (if the defaults aren't acceptable)
|
||||||
PRSwitchConfig switchConfig;
|
PRSwitchConfig switchConfig;
|
||||||
switchConfig.clear = false;
|
switchConfig.clear = false;
|
||||||
|
switchConfig.use_column_8 = machineType == kPRMachineWPC;
|
||||||
|
switchConfig.use_column_9 = machineType == kPRMachineWPC;
|
||||||
switchConfig.hostEventsEnable = true;
|
switchConfig.hostEventsEnable = true;
|
||||||
switchConfig.directMatrixScanLoopTime = 2; // milliseconds
|
switchConfig.directMatrixScanLoopTime = 2; // milliseconds
|
||||||
switchConfig.pulsesBeforeCheckingRX = 10;
|
switchConfig.pulsesBeforeCheckingRX = 10;
|
||||||
|
|||||||
Reference in New Issue
Block a user