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

adjusted WPC mappings for 8-driver board coils.

This commit is contained in:
gstellenberg
2009-10-25 13:12:58 -05:00
parent c51af65a05
commit f1b5c49295

View File

@@ -316,9 +316,9 @@ PR_EXPORT uint16_t PRDecode(PRMachineType machineType, const char *str)
if (machineType == kPRMachineWPC95) if (machineType == kPRMachineWPC95)
return x + 7; return x + 7;
else else
return x + 101; // WPC 37-44 use 8-driver board return x + 107; // WPC 37-44 use 8-driver board (mapped to drivers 144-151)
} }
else return x + 102; else return x + 108;
case 'G': case 'G':
case 'g': case 'g':
return x + 71; return x + 71;