From 2e5b45edfe23ccc73fcf80400b508d6612ff4687 Mon Sep 17 00:00:00 2001 From: Henry Gabryjelski Date: Fri, 31 Jul 2020 10:27:22 -0700 Subject: [PATCH] remove additional ifdef ... source not compiled when no USB, so no compilation error for nRF42832 --- src/usb/uf2/ghostfat.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/usb/uf2/ghostfat.c b/src/usb/uf2/ghostfat.c index d7e3da8..0f50acb 100644 --- a/src/usb/uf2/ghostfat.c +++ b/src/usb/uf2/ghostfat.c @@ -391,10 +391,7 @@ int write_block (uint32_t block_no, uint8_t *data, WriteState *state) switch ( bl->familyID ) { -#if defined(CFG_UF2_BOARD_APP_ID) && CFG_UF2_BOARD_APP_ID case CFG_UF2_BOARD_APP_ID: // board-specific app ... may not be usable on other nrf52 boards -#endif - case CFG_UF2_FAMILY_APP_ID: // legacy, or where app uses bootloader configuration to discover pins /* Upgrading Application *