mirror of
https://github.com/apache/nuttx.git
synced 2026-10-08 14:55:18 +00:00
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> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| dummy | ||
| hc/m9s12 | ||
| mips | ||
| misoc/lm32/misoc | ||
| or1k/mor1kx/or1k | ||
| renesas | ||
| risc-v | ||
| sim/sim/sim | ||
| sparc | ||
| tricore/tc3xx/tc397 | ||
| x86/qemu/qemu-i486 | ||
| x86_64/intel64/qemu-intel64 | ||
| xtensa | ||
| z16/z16f/z16f2800100zcog | ||
| z80 | ||
| .gitignore | ||
| Board.mk | ||
| boardctl.c | ||
| CMakeLists.txt | ||
| dummy.c | ||
| Kconfig | ||
| Makefile | ||