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:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user