@andypugh You added a variable in the hostmot2 buffered SPI drivers called count using the hal_u32_t * type. This field is never addressed or used in the bspi driver afaics. It may have been the idea to add a pin, but the SPI interface is a rather "internal use only" construct where other modules use it as a transport layer, just like the uart/pktuart. It may therefore be a "leftover" while developing the driver.
Commenting it out and recompiling does not result in any messages, so it does not seem to be addressed anywhere. Can't it be simply removed?
The source is at: https://github.com/LinuxCNC/linuxcnc/blame/e90c66dac743dc0bf9f827f70fab5cdd8898c662/src/hal/drivers/mesa-hostmot2/hostmot2.h#L1338
Added in commit: d82b0eb
@andypugh You added a variable in the hostmot2 buffered SPI drivers called
countusing thehal_u32_t *type. This field is never addressed or used in the bspi driver afaics. It may have been the idea to add a pin, but the SPI interface is a rather "internal use only" construct where other modules use it as a transport layer, just like the uart/pktuart. It may therefore be a "leftover" while developing the driver.Commenting it out and recompiling does not result in any messages, so it does not seem to be addressed anywhere. Can't it be simply removed?
The source is at: https://github.com/LinuxCNC/linuxcnc/blame/e90c66dac743dc0bf9f827f70fab5cdd8898c662/src/hal/drivers/mesa-hostmot2/hostmot2.h#L1338
Added in commit: d82b0eb