[grblHAL/STM32F4xx Issue#128] Issue when SPI_IRQ_PIN or SPI_IRQ_BIT is not used

未分类 bolang 6个月前 (10-15) 51次浏览

Issue #128 | 状态: 已关闭 | 作者: andrewmarles | 创建时间: 2023-07-31


I think that this might want to be an ifdef:

https://github.com/grblHAL/STM32F4xx/blob/7dbf6fa1ecacac138d760679673cbb4b3d43de32/Src/driver.c#L451

When not defined, SPIIRQBIT gets inndef’d to 0 and this causes a compile issue at line 470 of driver.c because spiirq (driverirqhandert) never gets intialized.


评论 (2)

#1 – terjeio 于 2023-07-31

Oops, it is the #ifdef at line 470 that has to be changed to #if… I’ll fix that.


#2 – terjeio 于 2023-08-06

Fix commited.


原始Issue: https://github.com/grblHAL/STM32F4xx/issues/128

喜欢 (0)