Closed juwalter closed 1 month ago
Thanks for the catch, it seems to be a relict from former times, when variable DMA buffer sizes were being used. As we are seldomly using VERBOSE mode, it seems like it slipped through.
As the buffers are all CIFX_DEFAULT_DMA_BUFFER_SIZE now, this should be save to use.
thank you @MTrensch-hilscher
in https://github.com/HilscherAutomation/nxdrvlinux/blob/main/libcifx/cifxlinux.c#L565 when enabling
VERBOSE
, this code does not compileshould this line
use
CIFX_DEFAULT_DMA_BUFFER_SIZE
instead of undeclaredulSize
?