We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ed4d50 commit 08c0f27Copy full SHA for 08c0f27
src/main.c
@@ -119,8 +119,7 @@ void usb_teardown(void);
119
120
// Allow for using reset button essentially to swap between application and bootloader.
121
// This is controlled by a flag in the app and is the behavior of CPX and all Arcade boards when using MakeCode.
122
-// TODO correct USER_FLASH_START = APP after SoftDevice
123
-#define APP_ASKS_FOR_SINGLE_TAP_RESET() (*((uint32_t*)(USER_FLASH_START + 0x200)) == 0x87eeb07c)
+#define APP_ASKS_FOR_SINGLE_TAP_RESET() (*((uint32_t*)(DFU_BANK_0_REGION_START + 0x200)) == 0x87eeb07c)
124
125
// These value must be the same with one in dfu_transport_ble.c
126
#define BLEGAP_EVENT_LENGTH 6
0 commit comments