grblHAL / core

grblHAL core code and master Wiki
Other
304 stars 73 forks source link

spindle_add_null does not fill .esp32_off which leads to crash #473

Closed Nick507 closed 3 months ago

Nick507 commented 3 months ago

Function spindle_add_null (spindle_control.c:437) does not fill optional pointer esp32_off in spindle_ptrs_t structure. As result, spindle_all_off() crashes. Most likely, this is a case when spindle init failed by some reason.

terjeio commented 3 months ago

I keep forgetting about the lurking ESP32 guru... Will fix in the next commit.