Fix for CI on other boards.

This commit is contained in:
Jm Casler 2020-11-22 19:01:48 -08:00
parent 2bd40b7053
commit 9801a62d2d

View File

@ -134,9 +134,12 @@ bool Power::setup()
return found; return found;
} }
void Power::shutdown() { void Power::shutdown()
{
#ifdef AXP192_SLAVE_ADDRESS
DEBUG_MSG("Shutting down\n"); DEBUG_MSG("Shutting down\n");
axp.shutdown(); axp.shutdown();
#endif
} }
/// Reads power status to powerStatus singleton. /// Reads power status to powerStatus singleton.