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:
Frieder Schrempf committed 2025-12-17 10:25:16 +01:00
1 parent 7730e97b77
commit 2f79f3b03d
21 files changed
+1 -79

No files matched your search

+1
View File
@@ -8,5 +8,6 @@
class NRF52Board : public mesh::MainBoard {
public:
float getMCUTemperature() override;
virtual void reboot() override { NVIC_SystemReset(); }
};
#endif