stm32/sdram: Fix compile issue from unused sdram startup test flag.
This commit is contained in:
parent
f4726735cf
commit
3fe83e4318
|
@ -501,6 +501,7 @@ void stm32_main(uint32_t reset_mode) {
|
||||||
#if MICROPY_HW_SDRAM_SIZE
|
#if MICROPY_HW_SDRAM_SIZE
|
||||||
sdram_init();
|
sdram_init();
|
||||||
bool sdram_valid = true;
|
bool sdram_valid = true;
|
||||||
|
UNUSED(sdram_valid);
|
||||||
#if MICROPY_HW_SDRAM_STARTUP_TEST
|
#if MICROPY_HW_SDRAM_STARTUP_TEST
|
||||||
sdram_valid = sdram_test(true);
|
sdram_valid = sdram_test(true);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue