diff --git a/JumperlessNano/src/FileParsing.cpp b/JumperlessNano/src/FileParsing.cpp index cbbf427..37318e4 100644 --- a/JumperlessNano/src/FileParsing.cpp +++ b/JumperlessNano/src/FileParsing.cpp @@ -857,7 +857,7 @@ void replaceSFNamesWithDefinedInts(void) specialFunctionsString.replace("CURRENT_SENSE_MINUS", "109"); specialFunctionsString.replace("CURRENT_SENSE_PLUS", "108"); specialFunctionsString.replace("ISENSE_MINUS", "109"); - specialFunctionsString.replace("IENSE_PLUS", "108"); + specialFunctionsString.replace("ISENSE_PLUS", "108"); specialFunctionsString.replace("EMPTY_NET", "127"); diff --git a/JumperlessNano/src/Probing.cpp b/JumperlessNano/src/Probing.cpp index 6979b8d..03be694 100644 --- a/JumperlessNano/src/Probing.cpp +++ b/JumperlessNano/src/Probing.cpp @@ -745,6 +745,7 @@ int checkProbeButton(void) { int buttonState = 0; +pinMode(buttonPin, INPUT); startProbe(); if (readFloatingOrState(buttonPin, 0) == probe) @@ -756,6 +757,8 @@ int checkProbeButton(void) buttonState = 0; } stopProbe(); + pinMode(buttonPin, OUTPUT ); + digitalWrite(buttonPin, LOW); return buttonState; } diff --git a/JumperlessNano/src/main.cpp b/JumperlessNano/src/main.cpp index 1ba8b0a..4cf4051 100644 --- a/JumperlessNano/src/main.cpp +++ b/JumperlessNano/src/main.cpp @@ -99,8 +99,8 @@ void setup() clearAllNTCC(); - delay(20); - setupAdcUsbStuff(); // I took this out because it was causing a crash on + //delay(20); + //setupAdcUsbStuff(); // I took this out because it was causing a crash on delay(10); // lastNetConfirm(0); @@ -138,7 +138,7 @@ int baudRate = 115200; int restoredNodeFile = 0; -const char firmwareVersion[] = "1.3.8"; //// remember to update this +const char firmwareVersion[] = "1.3.9"; //// remember to update this void loop() {