From a45d02896b45e871207f00b38935ac0ed2fe8248 Mon Sep 17 00:00:00 2001 From: Shubham Kulkarni Date: Fri, 11 Dec 2020 18:32:33 +0530 Subject: [PATCH] portmacro.h: Change return type of vApplicationSleep to void This fixes build failure when automatic light sleep is enabled --- portable/ThirdParty/GCC/Xtensa_ESP32/include/portmacro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portable/ThirdParty/GCC/Xtensa_ESP32/include/portmacro.h b/portable/ThirdParty/GCC/Xtensa_ESP32/include/portmacro.h index 9ca090aa4..eba402d59 100644 --- a/portable/ThirdParty/GCC/Xtensa_ESP32/include/portmacro.h +++ b/portable/ThirdParty/GCC/Xtensa_ESP32/include/portmacro.h @@ -430,7 +430,7 @@ #define PRIVILEGED_DATA #endif - bool vApplicationSleep( TickType_t xExpectedIdleTime ); + void vApplicationSleep( TickType_t xExpectedIdleTime ); void vPortSetStackWatchpoint( void* pxStackStart ); #define portSUPPRESS_TICKS_AND_SLEEP( idleTime ) vApplicationSleep( idleTime )