rename
This commit is contained in:
1 parent
fd386cce43
commit
feb63dc062
1 file changed
+2
-2
+2
-2
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user