From ac296aab3e4f48ee92a8a988e11c5bf91cc99461 Mon Sep 17 00:00:00 2001 From: gstellenberg Date: Wed, 21 Oct 2009 21:12:18 -0500 Subject: [PATCH] Only use switch columns 8 and 9 with WPC and not WPC95. --- examples/pinproctest/switches.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/pinproctest/switches.cpp b/examples/pinproctest/switches.cpp index f79dff8..97e697b 100644 --- a/examples/pinproctest/switches.cpp +++ b/examples/pinproctest/switches.cpp @@ -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;