nuttx/boards/arm/gd32f4/gd32f450zk-eval/src
Mingjie Shen 51c4a5c2d6 gd32f4xx_at24: Fix uninitialized use of local variables i2c and at24
Prior to this commit, i2c and at24 may be used uninitialized on line
113, 117, 129, and 143 when gd32_at24_wr_test() is called the second
time because these two variables are not static. I don't think making
them static is the correct fix because i2c is released at the end of
this function. Fixed by removing the `if (!initialized)` condition
surrounding the initialization of i2c and at24, making them initialized
at every call to this function.

Signed-off-by: Mingjie Shen <shen497@purdue.edu>
2024-08-27 21:32:28 +08:00
..
gd32f4xx_appinit.c Fix the call logic of the gd32f4xx_appinit.C and gd32f4xx_bringup.C of the GD32 series microcontroller in the project, which is unified with the STM32 series chip in the warehouse. 2024-01-30 17:50:31 -08:00
gd32f4xx_at24.c gd32f4xx_at24: Fix uninitialized use of local variables i2c and at24 2024-08-27 21:32:28 +08:00
gd32f4xx_autoleds.c
gd32f4xx_boot.c Added the comments of bringup() under gd32fxxx.h, modified the compilation options of the makefile, and modified the execution logic of the board_late_initialize(), which is consistent with the stm32 series. 2024-01-30 17:50:31 -08:00
gd32f4xx_bringup.c Remove the back slash from long literal string 2024-02-19 16:43:15 +01:00
gd32f4xx_buttons.c
gd32f4xx_gd25.c
gd32f4xx_gpio.c
gd32f4xx_romfs.c
gd32f4xx_romfs.h
gd32f4xx_sdio.c sdcard: update sdcard detection to avoid 0xff assignment to bool type 2023-06-11 12:55:29 +08:00
gd32f4xx_spi.c
gd32f4xx_userleds.c
gd32f450z_eval.h Added the comments of bringup() under gd32fxxx.h, modified the compilation options of the makefile, and modified the execution logic of the board_late_initialize(), which is consistent with the stm32 series. 2024-01-30 17:50:31 -08:00
Makefile fix nxstyle 2024-04-15 15:33:17 -03:00