a bit more rename

This commit is contained in:
Andrey 2023-12-13 23:59:01 -05:00 committed by rusefillc
parent c7fe53e107
commit 59caa0f2b8
1 changed files with 2 additions and 2 deletions

View File

@ -226,7 +226,7 @@ void EnginePins::unregisterPins() {
// todo: add pinMode
unregisterOutputIfPinChanged(sdCsPin, sdCardCsPin);
unregisterOutputIfPinChanged(accelerometerCs, LIS302DLCsPin);
unregisterOutputIfPinChanged(accelerometerCs, accelerometerCsPin);
RegisteredOutputPin * pin = registeredOutputHead;
while (pin != nullptr) {
@ -739,7 +739,7 @@ void OutputPin::initPin(const char *msg, brain_pin_e p_brainPin, pin_output_mode
const int logicalValue =
(outputMode == OM_INVERTED)
? !actualValue
? !actualValue
: actualValue;
// if the pin was set to logical 1, then set an error and disable the pin so that things don't catch fire