diff --git a/changelog.md b/changelog.md index 9206c98..9213a1b 100644 --- a/changelog.md +++ b/changelog.md @@ -18,6 +18,8 @@ to allow board code to sequence registration by implementing the weak function ` Drivers: +* ESP32: fixed bug blocking direction output for the second PWM spindle. Removed pin definition interfering with the third serial port for the Pibot Ultra v5.88 controller. + * iMRXT1062, RP2040 and STM32F4xx: I/O expander code updated for core change. Plugins: diff --git a/grbl.h b/grbl.h index 15284da..1ed618c 100644 --- a/grbl.h +++ b/grbl.h @@ -42,7 +42,7 @@ #else #define GRBL_VERSION "1.1f" #endif -#define GRBL_BUILD 20260719 +#define GRBL_BUILD 20260726 #define GRBL_URL "https://github.com/grblHAL" diff --git a/stepper.c b/stepper.c index 21e8cf9..c43a92a 100644 --- a/stepper.c +++ b/stepper.c @@ -573,7 +573,7 @@ ISR_CODE void ISR_FUNC(stepper_driver_interrupt_handler)(void) st_go_idle(); // Ensure pwm is set properly upon completion of rate-controlled motion. - if(st.exec_block->dynamic_rpm && st.exec_block->spindle->cap.laser) { + if(st.exec_block && st.exec_block->dynamic_rpm && st.exec_block->spindle->cap.laser) { prep.current_spindle_rpm = 0.0f; st.exec_block->spindle->update_pwm(st.exec_block->spindle, st.exec_block->spindle->pwm_off_value); }