From 58d998bdb009af4d880492c920d597b54c7e8f98 Mon Sep 17 00:00:00 2001 From: dongheng Date: Wed, 6 Mar 2019 11:07:43 +0800 Subject: [PATCH] feat(freertos): Using align data to avoid exception handle --- components/freertos/port/esp8266/port.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/freertos/port/esp8266/port.c b/components/freertos/port/esp8266/port.c index f03b2e9e..b10a6351 100644 --- a/components/freertos/port/esp8266/port.c +++ b/components/freertos/port/esp8266/port.c @@ -49,8 +49,8 @@ #define PORT_ASSERT(x) do { if (!(x)) {ets_printf("%s %u\n", "rtos_port", __LINE__); while(1){}; }} while (0) extern char NMIIrqIsOn; -static uint8_t HdlMacSig = 0; -static uint8_t SWReq = 0; +static uint32_t HdlMacSig = 0; +static uint32_t SWReq = 0; unsigned cpu_sr;