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 2025-12-09 14:31:55 +01:00
parent 6486192477
commit 87b0e432bb
No known key found for this signature in database
GPG key ID: E7DD51F45F833802
21 changed files with 1 additions and 79 deletions

View file

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