mirror of
https://github.com/preble/libpinproc
synced 2026-02-24 18:25:23 +01:00
Made jd code more modular, added ball tracking logic.
This commit is contained in:
@@ -39,7 +39,7 @@ void ConfigureSwitches(PRHandle proc, YAML::Node& yamlDoc)
|
|||||||
PRSwitchConfig switchConfig;
|
PRSwitchConfig switchConfig;
|
||||||
switchConfig.clear = false;
|
switchConfig.clear = false;
|
||||||
switchConfig.use_column_8 = machineType == kPRMachineWPC;
|
switchConfig.use_column_8 = machineType == kPRMachineWPC;
|
||||||
switchConfig.use_column_9 = machineType == kPRMachineWPC;
|
switchConfig.use_column_9 = false; // No WPC machines actually use this.
|
||||||
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