const as much as possible #18
Labels
duplicate
This issue or pull request already exists
enhancement
New feature or request
hal
HAL-LL driver-related issue or pull-request.
spotted before customer
Spotted and fixed internally before being pointed out by users but not published yet
STM32CubeL4/Drivers/STM32L4xx_HAL_Driver/Src/stm32l4xx_hal_crc.c
Line 339 in d023c0d
Should be :
uint32_t HAL_CRC_Calculate(CRC_HandleTypeDef *hcrc, const uint32_t pBuffer[], uint32_t BufferLength)
This tells the user and the compiler that function will not modify the content of buffer. There are other occurrence in the HAL. Please check them all. This remark is also true for other HAL, not L4 specific.
Note this is not the same as #17.
Edit : it is indeed duplicate of #15
The text was updated successfully, but these errors were encountered: