From c3c531240ee5f85cc9d09341978226f7f97733e4 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 7 May 2015 13:51:01 +1000 Subject: [PATCH] Remove pending sv posted flag, double-setting int bit doesn't matter --- FreeRTOS/Source/portable/esp8266/port.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/FreeRTOS/Source/portable/esp8266/port.c b/FreeRTOS/Source/portable/esp8266/port.c index ae1d992..8bc1659 100644 --- a/FreeRTOS/Source/portable/esp8266/port.c +++ b/FreeRTOS/Source/portable/esp8266/port.c @@ -114,7 +114,6 @@ enum SVC_ReqType { static int pending_soft_sv; static int pending_maclayer_sv; -static int pending_sv_posted; /* PendSV is called in place of vPortYield() to request a supervisor call. @@ -138,11 +137,7 @@ void PendSV( char req ) else if(req == SVC_MACLayer) pending_maclayer_sv= 1; - if(pending_sv_posted == 0) - { - pending_sv_posted = 1; - xthal_set_intset(1<