revert cross-board flag strategy

This commit is contained in:
Lucian Copeland 2020-02-12 15:12:05 -05:00
parent 6d91ed2156
commit fd2982f5c9
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@
#define BOARD_OSC_DIV (12)
#define BOARD_NO_VBUS_SENSE (1)
#define BOARD_VTOR_DEFER (1) //Leave VTOR relocation to bootloader
#define BOARD_USE_INTERNAL_SPI (1)
#define BOARD_USE_INTERNAL_SPI
// On-board flash
#define SPI_FLASH_MOSI_PIN (&pin_PB15)

View File

@ -103,7 +103,7 @@ void reset_displays(void) {
continue;
}
#endif
#if (BOARD_USE_INTERNAL_SPI)
#ifdef BOARD_USE_INTERNAL_SPI
if (original_spi == (mp_obj_t)(&supervisor_flash_spi_bus)) {
continue;
}