From 3fe83e43183f224f2fb737a7dc96078bfb7f88a7 Mon Sep 17 00:00:00 2001 From: Andrew Leech Date: Tue, 18 Feb 2020 13:56:56 +1100 Subject: [PATCH] stm32/sdram: Fix compile issue from unused sdram startup test flag. --- ports/stm32/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ports/stm32/main.c b/ports/stm32/main.c index 042561db59..45bacbc6c0 100644 --- a/ports/stm32/main.c +++ b/ports/stm32/main.c @@ -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