Skip to content

Commit fd2982f

Browse files
committed
revert cross-board flag strategy
1 parent 6d91ed2 commit fd2982f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ports/stm32f4/boards/meowbit_v121/mpconfigboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#define BOARD_OSC_DIV (12)
3939
#define BOARD_NO_VBUS_SENSE (1)
4040
#define BOARD_VTOR_DEFER (1) //Leave VTOR relocation to bootloader
41-
#define BOARD_USE_INTERNAL_SPI (1)
41+
#define BOARD_USE_INTERNAL_SPI
4242

4343
// On-board flash
4444
#define SPI_FLASH_MOSI_PIN (&pin_PB15)

shared-module/displayio/__init__.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ void reset_displays(void) {
103103
continue;
104104
}
105105
#endif
106-
#if (BOARD_USE_INTERNAL_SPI)
106+
#ifdef BOARD_USE_INTERNAL_SPI
107107
if (original_spi == (mp_obj_t)(&supervisor_flash_spi_bus)) {
108108
continue;
109109
}

0 commit comments

Comments
 (0)