1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-24 18:25:23 +01:00

Back out protection code from previous check-in. It's too restrictive.

This commit is contained in:
Gerry Stellenberg
2010-12-30 19:44:40 -06:00
parent b493bc702a
commit d90bf717ba

View File

@@ -265,6 +265,9 @@ PRResult PRDevice::DriverUpdateState(PRDriverState *driverState)
// Don't allow Constant Pulse (non-schedule with time = 0) for known high current drivers. // 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. // Note, the driver numbers depend on the driver group settings from DriverLoadMachineTypeDefaults.
// TODO: Create some constants that are used both here and in 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) { switch (readMachineType) {
case kPRMachineWPC: case kPRMachineWPC:
case kPRMachineWPC95: case kPRMachineWPC95:
@@ -286,6 +289,7 @@ PRResult PRDevice::DriverUpdateState(PRDriverState *driverState)
break; break;
} }
} }
}
DEBUG(PRLog(kPRLogInfo, "Updating driver #%d\n", driverState->driverNum)); DEBUG(PRLog(kPRLogInfo, "Updating driver #%d\n", driverState->driverNum));