Skip to content

Commit 2e5b45e

Browse files
committed
remove additional ifdef ... source not compiled when no USB, so no compilation error for nRF42832
1 parent 6a092ab commit 2e5b45e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/usb/uf2/ghostfat.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,10 +391,7 @@ int write_block (uint32_t block_no, uint8_t *data, WriteState *state)
391391
switch ( bl->familyID )
392392
{
393393

394-
#if defined(CFG_UF2_BOARD_APP_ID) && CFG_UF2_BOARD_APP_ID
395394
case CFG_UF2_BOARD_APP_ID: // board-specific app ... may not be usable on other nrf52 boards
396-
#endif
397-
398395
case CFG_UF2_FAMILY_APP_ID: // legacy, or where app uses bootloader configuration to discover pins
399396
/* Upgrading Application
400397
*

0 commit comments

Comments
 (0)