1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-08-31 10:01:48 +02:00

Update Pin.cpp

All i2s0 pins were given the number 254.
This commit is contained in:
bdring
2021-06-07 13:24:21 -05:00
parent 70907d2d47
commit 66a4d6eba1

View File

@@ -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
}