Skip to content

Commit 0cd7650

Browse files
committed
Improve details for autoconfig fail.
1 parent 0b6e56e commit 0cd7650

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp8266/core_esp8266_main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,11 +565,11 @@ extern "C" void ICACHE_FLASH_ATTR user_pre_init(void)
565565
uint32_t size = __flashdesc[i].flash_size_kb << 10;
566566
ETS_PRINTF(PSTR(" [%02u] 0x%08X %8u\n"), i, size, size);
567567
}
568+
#endif
568569
ETS_PRINTF(PSTR("Reference info:\n"));
569570
uint32_t flash_chip_size = 1 << ((spi_flash_get_id() >> 16) & 0xff);
570571
ETS_PRINTF(PSTR(" %-24s 0x%08X %8u\n"), PSTR("fn(spi_flash_get_id())"), flash_chip_size, flash_chip_size);
571572
ETS_PRINTF(PSTR(" %-24s 0x%08X %8u\n"), PSTR("bin_chip_size"), flashchip->chip_size, flashchip->chip_size);
572-
#endif
573573
} else
574574
#endif
575575
if (chip_sz_str) {

0 commit comments

Comments
 (0)