add more deep sleep support for nrf52 boards

This commit is contained in:
Kevin Hester
2020-11-13 09:33:59 +08:00
parent 93afc71e2e
commit d407db5ee1
3 changed files with 32 additions and 14 deletions

View File

@@ -142,7 +142,7 @@ static void waitEnterSleep()
void doDeepSleep(uint64_t msecToWake)
{
DEBUG_MSG("Entering deep sleep for %llu seconds\n", msecToWake / 1000);
DEBUG_MSG("Entering deep sleep for %lu seconds\n", msecToWake / 1000);
// not using wifi yet, but once we are this is needed to shutoff the radio hw
// esp_wifi_stop();