Skip to main content
S H
Associate
February 12, 2018
Question

Typo in STM32L1 HAL for EEPROM Erase

  • February 12, 2018
  • 0 replies
  • 485 views
Posted on February 12, 2018 at 10:44

Hi,

it seems in theSTM32Cube_FW_L1_V1.8.1 in Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c there is a typo in the parameter guarding.

in line 811:

HAL_StatusTypeDef HAL_FLASHEx_DATAEEPROM_Erase(uint32_t TypeErase, uint32_t Address)
{
 HAL_StatusTypeDef status = HAL_OK;
 
 /* Check the parameters */
 assert_param(IS_TYPEPROGRAMDATA(TypeErase));
 assert_param(IS_FLASH_DATA_ADDRESS(Address));�?�?�?�?�?�?�?

IS_TYPEPROGRAMDATA()

should be: IS_TYPEERASEDATA()

to STM team:

- can you confirm this typo?

Thanks,

Sven

    This topic has been closed for replies.