mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-17 16:22:48 +00:00
Implemented enter (Uf2 usb) DFU mode admin message on NRF52 (#3045)
* Added enter DFU mode admin message * Trunk
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
#include "configuration.h"
|
||||
#include <Adafruit_TinyUSB.h>
|
||||
#include <Adafruit_nRFCrypto.h>
|
||||
#include <SPI.h>
|
||||
#include <Wire.h>
|
||||
@@ -214,4 +215,9 @@ void clearBonds()
|
||||
nrf52Bluetooth->setup();
|
||||
}
|
||||
nrf52Bluetooth->clearBonds();
|
||||
}
|
||||
|
||||
void enterDfuMode()
|
||||
{
|
||||
enterUf2Dfu();
|
||||
}
|
||||
Reference in New Issue
Block a user