diff --git a/RTL00_SDKV35a/component/os/freertos/freertos_v8.1.2/Source/tasks.c b/RTL00_SDKV35a/component/os/freertos/freertos_v8.1.2/Source/tasks.c index f190952..2fde546 100644 --- a/RTL00_SDKV35a/component/os/freertos/freertos_v8.1.2/Source/tasks.c +++ b/RTL00_SDKV35a/component/os/freertos/freertos_v8.1.2/Source/tasks.c @@ -1711,11 +1711,11 @@ TickType_t xTaskGetTickCount( void ) TickType_t xTicks; /* Critical section required if running on a 16 bit processor. */ - taskENTER_CRITICAL(); +// taskENTER_CRITICAL(); { xTicks = xTickCount; } - taskEXIT_CRITICAL(); +// taskEXIT_CRITICAL(); return xTicks; } diff --git a/RTL00_SDKV35a/component/os/freertos/freertos_v9.0.0/Source/queue.c b/RTL00_SDKV35a/component/os/freertos/freertos_v9.0.0/Source/queue.c index ce623be..3659ecd 100644 --- a/RTL00_SDKV35a/component/os/freertos/freertos_v9.0.0/Source/queue.c +++ b/RTL00_SDKV35a/component/os/freertos/freertos_v9.0.0/Source/queue.c @@ -69,6 +69,7 @@ #include #include +#include /* Defining MPU_WRAPPERS_INCLUDED_FROM_API_FILE prevents task.h from redefining all the API functions to use the MPU wrappers. That should only be done when diff --git a/RTL00_SDKV35a/component/os/freertos/freertos_v9.0.0/Source/tasks.c b/RTL00_SDKV35a/component/os/freertos/freertos_v9.0.0/Source/tasks.c index 77c2c16..2f36b5e 100644 --- a/RTL00_SDKV35a/component/os/freertos/freertos_v9.0.0/Source/tasks.c +++ b/RTL00_SDKV35a/component/os/freertos/freertos_v9.0.0/Source/tasks.c @@ -2248,11 +2248,11 @@ TickType_t xTaskGetTickCount( void ) TickType_t xTicks; /* Critical section required if running on a 16 bit processor. */ - portTICK_TYPE_ENTER_CRITICAL(); +// portTICK_TYPE_ENTER_CRITICAL(); { xTicks = xTickCount; } - portTICK_TYPE_EXIT_CRITICAL(); +// portTICK_TYPE_EXIT_CRITICAL(); return xTicks; } diff --git a/build/bin/ota.bin b/build/bin/ota.bin index 1259c1b..5a4a2f5 100644 Binary files a/build/bin/ota.bin and b/build/bin/ota.bin differ diff --git a/build/bin/ram_2.bin b/build/bin/ram_2.bin index ef01ce2..cd85037 100644 Binary files a/build/bin/ram_2.bin and b/build/bin/ram_2.bin differ diff --git a/build/bin/ram_2.ns.bin b/build/bin/ram_2.ns.bin index 3fc45d5..d217e50 100644 Binary files a/build/bin/ram_2.ns.bin and b/build/bin/ram_2.ns.bin differ diff --git a/build/bin/ram_2.p.bin b/build/bin/ram_2.p.bin index 328873b..2d1173f 100644 Binary files a/build/bin/ram_2.p.bin and b/build/bin/ram_2.p.bin differ diff --git a/build/bin/ram_all.bin b/build/bin/ram_all.bin index 0cfbbe8..747701c 100644 Binary files a/build/bin/ram_all.bin and b/build/bin/ram_all.bin differ