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:
@@ -93,9 +93,5 @@ public:
|
||||
sd_power_system_off();
|
||||
}
|
||||
|
||||
void reboot() override {
|
||||
NVIC_SystemReset();
|
||||
}
|
||||
|
||||
// bool startOTAUpdate(const char* id, char reply[]) override;
|
||||
};
|
||||
Reference in New Issue
Block a user