Skip to content

Commit

Permalink
I2s direction
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchBradley committed Oct 11, 2024
1 parent cfa1d05 commit 4e268bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FluidNC/esp32/i2s_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ static int init_step_pin(int step_pin, int step_invert) {
// pin states. Later, that variable will be transferred to
// the I2S FIFO to change all the affected pins at once.
static IRAM_ATTR void set_dir_pin(int pin, int level) {
i2s_out_write(pin, !level);
i2s_out_write(pin, level);
}

uint32_t new_port_data;
Expand Down

0 comments on commit 4e268bc

Please sign in to comment.