mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Deduplicate reboot() for NRF52 boards
The reboot() method is the same for all NRF52 boards. Use a shared implementation. Signed-off-by: Frieder Schrempf <frieder@fris.de>
This commit is contained in:
parent
6486192477
commit
87b0e432bb
21 changed files with 1 additions and 79 deletions
|
|
@ -40,10 +40,6 @@ public:
|
|||
return "Elecrow ThinkNode-M1";
|
||||
}
|
||||
|
||||
void reboot() override {
|
||||
NVIC_SystemReset();
|
||||
}
|
||||
|
||||
void powerOff() override {
|
||||
|
||||
// turn off all leds, sd_power_system_off will not do this for us
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue