mirror of
https://github.com/oltaco/Adafruit_nRF52_Bootloader_OTAFIX.git
synced 2026-10-23 15:13:42 +00:00
remove additional ifdef ... source not compiled when no USB, so no compilation error for nRF42832
This commit is contained in:
1 parent
6a092abb5e
commit
2e5b45edfe
1 file changed
-3
@@ -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
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user