Skip to content

Commit feb63dc

Browse files
committed
rename
1 parent fd386cc commit feb63dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/nRF5/wiring.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
extern "C" {
2626
#endif
2727

28-
#define BOOTLOADER_DFU_START_SERIAL 0x4e
28+
#define BOOTLOADER_DFU_SERIAL_MAGIC 0x4e
2929

3030
void init( void )
3131
{
@@ -44,7 +44,7 @@ void init( void )
4444

4545
void enterSerialDFU(void)
4646
{
47-
NRF_POWER->GPREGRET = BOOTLOADER_DFU_START_SERIAL;
47+
NRF_POWER->GPREGRET = BOOTLOADER_DFU_SERIAL_MAGIC;
4848
NVIC_SystemReset();
4949
}
5050

0 commit comments

Comments
 (0)