From d90bf717bac20e07ca76b37c394da5f3fd39a939 Mon Sep 17 00:00:00 2001 From: Gerry Stellenberg Date: Thu, 30 Dec 2010 19:44:40 -0600 Subject: [PATCH] Back out protection code from previous check-in. It's too restrictive. --- src/PRDevice.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/PRDevice.cpp b/src/PRDevice.cpp index b863001..9ef28ae 100644 --- a/src/PRDevice.cpp +++ b/src/PRDevice.cpp @@ -265,6 +265,9 @@ PRResult PRDevice::DriverUpdateState(PRDriverState *driverState) // Don't allow Constant Pulse (non-schedule with time = 0) for known high current drivers. // Note, the driver numbers depend on the driver group settings from DriverLoadMachineTypeDefaults. // TODO: Create some constants that are used both here and in DriverLoadMachineTypeDefaults. + +// Removing protection code for now. It's too restrictive. +if (0) { switch (readMachineType) { case kPRMachineWPC: case kPRMachineWPC95: @@ -286,6 +289,7 @@ PRResult PRDevice::DriverUpdateState(PRDriverState *driverState) break; } } +} DEBUG(PRLog(kPRLogInfo, "Updating driver #%d\n", driverState->driverNum));