1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-08-30 17:49:56 +02:00

I2SO works with this fix

It removes the delay from I2SOPinDetail::write, which was causing
crashes when it was called via step().  The delay messed up the ISR.
This commit is contained in:
Mitch Bradley
2021-07-01 19:45:22 -10:00
parent 589dc3aa93
commit acaed84ab2

View File

@@ -53,10 +53,6 @@ namespace Pins {
void I2SOPinDetail::write(int high) {
int value = _readWriteMask ^ high;
i2s_out_write(_index, value);
// XXX Do we want to add i2s_out_delay() here ?
// Doing so would eliminate the need to override
// switchCSpin() in TrinamicDriver.cpp
i2s_out_delay();
}
int I2SOPinDetail::read() {