mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-28 20:52:02 +00:00
Move device specific shutdown code from main-nrf52.cpp to the appropriate cariant.cpp files
This commit is contained in:
@@ -20,4 +20,11 @@ void initVariant()
|
||||
pinMode(PIN_WD_EN, OUTPUT);
|
||||
digitalWrite(PIN_WD_EN, HIGH); // Enable the Watchdog at boot
|
||||
#endif
|
||||
}
|
||||
|
||||
void variant_shutdown()
|
||||
{
|
||||
#ifdef PIN_WD_EN
|
||||
digitalWrite(PIN_WD_EN, LOW);
|
||||
#endif
|
||||
}
|
||||
Reference in New Issue
Block a user