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

Only set up machine type defaults if not kPRMachineCustom.

This commit is contained in:
Gerry Stellenberg
2009-10-02 15:55:30 -05:00
parent 2efa0ad54c
commit 9b0322a4fc

View File

@@ -81,7 +81,7 @@ PRResult PRDevice::Reset(uint32_t resetFlags)
num_collected_bytes = 0;
numPreparedWriteWords = 0;
DriverLoadMachineTypeDefaults(machineType, resetFlags);
if (machineType != kPRMachineCustom) DriverLoadMachineTypeDefaults(machineType, resetFlags);
// Disable dmd events if updating the device.
#if 0