Skip to content

Commit e4f769c

Browse files
committed
BOOT SEL pin is not available. Use a bool variable instead
1 parent 29c9682 commit e4f769c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,11 @@ USBD_HandleTypeDef USBD_Device;
6666
DigitalOut red(BOARD_RED_LED, 1);
6767
DigitalOut green(BOARD_GREEN_LED, 1);
6868
DigitalOut blue(BOARD_BLUE_LED, 1);
69+
#if defined(TARGET_NICLA_VISION)
70+
bool boot_sel = false;
71+
#else
6972
DigitalIn boot_sel(BOARD_BOOT_SEL,PullDown);
73+
#endif
7074

7175
Ticker swap_ticker;
7276
bool debug_enabled = false;

0 commit comments

Comments
 (0)