On Tue, 24 Nov 2020 14:38:07 +0200
Alexandru Ardelean wrote:
> From: Lars-Peter Clausen
>
> Use a heap allocated memory for the SPI transfer buffer. Using stack memory
> can corrupt stack memory when using DMA on some systems.
>
> This change moves the buffer from the stack of the trigger hand
From: Lars-Peter Clausen
Use a heap allocated memory for the SPI transfer buffer. Using stack memory
can corrupt stack memory when using DMA on some systems.
This change moves the buffer from the stack of the trigger handler call to
the heap of the buffer of the state struct. The size increases
2 matches
Mail list logo