Followup to pin error change

This commit is contained in:
Scott Lahteine committed 2018-06-10 19:28:45 -05:00
1 parent ae07a3e4aa
commit 117fd007a9
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ void GcodeSuite::M42() {
const pin_t pin = GET_PIN_MAP_PIN(pin_index);
if (pin_is_protected(pin_number)) return protected_pin_err();
if (pin_is_protected(pin)) return protected_pin_err();
pinMode(pin, OUTPUT);
digitalWrite(pin, pin_status);