1
0
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:
gstellenberg
2009-11-05 23:28:02 -06:00
parent 25471bc59d
commit 7a39697f60

View File

@@ -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;