revert cross-board flag strategy

crypto-aes
Lucian Copeland 3 years ago
parent 6d91ed2156
commit fd2982f5c9
  1. 2
      ports/stm32f4/boards/meowbit_v121/mpconfigboard.h
  2. 2
      shared-module/displayio/__init__.c

@ -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)

@ -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;
}

Loading…
Cancel
Save