From eeeb7c5080986f9a5d098063eb16953905a3e69f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20G=C3=B6ttgens?= Date: Tue, 11 Apr 2023 13:50:03 +0200 Subject: [PATCH] i wasn't asking... --- src/sleep.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sleep.cpp b/src/sleep.cpp index 650cb66d..9468b7d0 100644 --- a/src/sleep.cpp +++ b/src/sleep.cpp @@ -16,11 +16,11 @@ #include #include -#ifndef INCLUDE_vTaskSuspend -#define INCLUDE_vTaskSuspend 0 +esp_sleep_source_t wakeCause; // the reason we booted this time #endif -esp_sleep_source_t wakeCause; // the reason we booted this time +#ifndef INCLUDE_vTaskSuspend +#define INCLUDE_vTaskSuspend 0 #endif #ifdef HAS_PMU