mirror of
https://github.com/preble/libpinproc
synced 2026-02-22 18:15:25 +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)
|
||||
PRSwitchConfig switchConfig;
|
||||
switchConfig.clear = false;
|
||||
switchConfig.use_column_8 = machineType == kPRMachineWPC;
|
||||
switchConfig.use_column_9 = machineType == kPRMachineWPC;
|
||||
switchConfig.hostEventsEnable = true;
|
||||
switchConfig.directMatrixScanLoopTime = 2; // milliseconds
|
||||
switchConfig.pulsesBeforeCheckingRX = 10;
|
||||
|
||||
Reference in New Issue
Block a user