From 66a4d6eba19b9e192aeb6bceaa7d25f06575531c Mon Sep 17 00:00:00 2001 From: bdring Date: Mon, 7 Jun 2021 13:24:21 -0500 Subject: [PATCH] Update Pin.cpp All i2s0 pins were given the number 254. --- Grbl_Esp32/src/Pin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Grbl_Esp32/src/Pin.cpp b/Grbl_Esp32/src/Pin.cpp index 77a4d7d7..1bf2689c 100644 --- a/Grbl_Esp32/src/Pin.cpp +++ b/Grbl_Esp32/src/Pin.cpp @@ -120,7 +120,7 @@ bool Pin::parse(StringRange tmp, Pins::PinDetail*& pinImplementation) { } if (prefix == "i2so") { #ifdef ESP32 - pinImplementation = new Pins::I2SOPinDetail(uint8_t(254), parser); + pinImplementation = new Pins::I2SOPinDetail(uint8_t(pinNumber), parser); return true; #endif }