From feb63dc06236345e70cc38cb0c46f357d22436a4 Mon Sep 17 00:00:00 2001 From: hathach Date: Thu, 16 Mar 2017 21:14:13 +0700 Subject: [PATCH] rename --- cores/nRF5/wiring.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cores/nRF5/wiring.c b/cores/nRF5/wiring.c index f6758ac4..1fa72b13 100644 --- a/cores/nRF5/wiring.c +++ b/cores/nRF5/wiring.c @@ -25,7 +25,7 @@ extern "C" { #endif -#define BOOTLOADER_DFU_START_SERIAL 0x4e +#define BOOTLOADER_DFU_SERIAL_MAGIC 0x4e void init( void ) { @@ -44,7 +44,7 @@ void init( void ) void enterSerialDFU(void) { - NRF_POWER->GPREGRET = BOOTLOADER_DFU_START_SERIAL; + NRF_POWER->GPREGRET = BOOTLOADER_DFU_SERIAL_MAGIC; NVIC_SystemReset(); }