mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 20:50:14 +01:00
stm32/sdram: Fix compile issue from unused sdram startup test flag.
This commit is contained in:
committed by
Damien George
parent
f4726735cf
commit
3fe83e4318
@@ -501,6 +501,7 @@ void stm32_main(uint32_t reset_mode) {
|
||||
#if MICROPY_HW_SDRAM_SIZE
|
||||
sdram_init();
|
||||
bool sdram_valid = true;
|
||||
UNUSED(sdram_valid);
|
||||
#if MICROPY_HW_SDRAM_STARTUP_TEST
|
||||
sdram_valid = sdram_test(true);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user