diff --git a/src/Power.cpp b/src/Power.cpp index 93e3096d0..4e30c8288 100644 --- a/src/Power.cpp +++ b/src/Power.cpp @@ -134,9 +134,12 @@ bool Power::setup() return found; } -void Power::shutdown() { +void Power::shutdown() +{ +#ifdef AXP192_SLAVE_ADDRESS DEBUG_MSG("Shutting down\n"); axp.shutdown(); +#endif } /// Reads power status to powerStatus singleton.