|
@@ -308,7 +308,7 @@ int i2s_init() {
|
308
|
308
|
esp_intr_enable(i2s_isr_handle);
|
309
|
309
|
|
310
|
310
|
// Create the task that will feed the buffer
|
311
|
|
- xTaskCreate(stepperTask, "StepperTask", 10000, nullptr, 1, nullptr);
|
|
311
|
+ xTaskCreatePinnedToCore(stepperTask, "StepperTask", 10000, nullptr, 1, nullptr, CONFIG_ARDUINO_RUNNING_CORE); // run I2S stepper task on same core as rest of Marlin
|
312
|
312
|
|
313
|
313
|
// Route the i2s pins to the appropriate GPIO
|
314
|
314
|
gpio_matrix_out_check(I2S_DATA, I2S0O_DATA_OUT23_IDX, 0, 0);
|