From 81fc3f99bafa03d7191187a0764527fc52e8e064 Mon Sep 17 00:00:00 2001 From: lixianjing Date: Thu, 7 May 2020 15:36:06 +0800 Subject: [PATCH] upgrade tencentos-tiny to c8e39739d3deb4e78d16b518ba2e3a20009bc0d7(Wed Apr 29 16:24:20 2020 +0800) --- src/platforms/tos/mutex.c | 4 ++-- src/platforms/tos/rtos.c | 3 +-- src/platforms/tos/semaphore.c | 4 ++-- src/platforms/tos/thread.c | 4 ++-- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/platforms/tos/mutex.c b/src/platforms/tos/mutex.c index 7cd278790..d9419b6e9 100644 --- a/src/platforms/tos/mutex.c +++ b/src/platforms/tos/mutex.c @@ -1,4 +1,4 @@ -/** +/** * File: mutex.c * Author: AWTK Develop Team * Brief: mutex base on tos_mutex @@ -19,7 +19,7 @@ * */ -#include "tos.h" +#include "tos_k.h" #include "tkc/mem.h" #include "tkc/mutex.h" diff --git a/src/platforms/tos/rtos.c b/src/platforms/tos/rtos.c index 4da881791..ea3da855f 100644 --- a/src/platforms/tos/rtos.c +++ b/src/platforms/tos/rtos.c @@ -19,12 +19,11 @@ * */ -#include "tos.h" +#include "tos_k.h" #include "platforms/common/rtos.h" ret_t rtos_init(void) { tos_knl_init(); - tos_robin_config(TOS_ROBIN_STATE_ENABLED, (k_timeslice_t)500u); return RET_OK; } diff --git a/src/platforms/tos/semaphore.c b/src/platforms/tos/semaphore.c index 477a89642..2a43fbf36 100644 --- a/src/platforms/tos/semaphore.c +++ b/src/platforms/tos/semaphore.c @@ -1,4 +1,4 @@ -/** +/** * File: semaphore.c * Author: AWTK Develop Team * Brief: semaphore @@ -19,7 +19,7 @@ * */ -#include "tos.h" +#include "tos_k.h" #include "tkc/mem.h" #include "tkc/time_now.h" diff --git a/src/platforms/tos/thread.c b/src/platforms/tos/thread.c index 99b6d216a..17c926b8f 100644 --- a/src/platforms/tos/thread.c +++ b/src/platforms/tos/thread.c @@ -1,4 +1,4 @@ -/** +/** * File: thread.c * Author: AWTK Develop Team * Brief: thread on cmsis_os @@ -19,7 +19,7 @@ * */ -#include "tos.h" +#include "tos_k.h" #include "tkc/mem.h" #include "tkc/utils.h" #include "tkc/thread.h"