mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-18 00:32:38 +00:00
Add support for the power button #528
This commit is contained in:
@@ -134,6 +134,11 @@ bool Power::setup()
|
||||
return found;
|
||||
}
|
||||
|
||||
void Power::shutdown() {
|
||||
DEBUG_MSG("Shutting down\n");
|
||||
axp.shutdown();
|
||||
}
|
||||
|
||||
/// Reads power status to powerStatus singleton.
|
||||
//
|
||||
// TODO(girts): move this and other axp stuff to power.h/power.cpp.
|
||||
|
||||
Reference in New Issue
Block a user