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

Separated machineType stern into sternSAM and sternWhitestar.

This commit is contained in:
Gerry Stellenberg
2009-09-28 23:33:49 -05:00
parent 966371a34e
commit e61311faf9

View File

@@ -137,7 +137,7 @@ void ConfigureSwitchRules(PRHandle proc, YAML::Node& yamlDoc)
yamlDoc[kCoilsSection][flipperName + "Hold"][kNumberField] >> numStr; coilHold = PRDecode(machineType, numStr.c_str()); yamlDoc[kCoilsSection][flipperName + "Hold"][kNumberField] >> numStr; coilHold = PRDecode(machineType, numStr.c_str());
ConfigureWPCFlipperSwitchRule (proc, swNum, coilMain, coilHold, kFlipperPulseTime); ConfigureWPCFlipperSwitchRule (proc, swNum, coilMain, coilHold, kFlipperPulseTime);
} }
else if (machineType == kPRMachineStern) else if (machineType == kPRMachineSternWhitestar || machineType == kPRMachineSternSAM)
{ {
printf("hi\n"); printf("hi\n");
yamlDoc[kSwitchesSection][flipperName][kNumberField] >> numStr; swNum = PRDecode(machineType, numStr.c_str()); yamlDoc[kSwitchesSection][flipperName][kNumberField] >> numStr; swNum = PRDecode(machineType, numStr.c_str());