删除rt_thread_sleep遗留

This commit is contained in:
Meco Man
2024-08-15 04:08:33 -04:00
parent 3e246caa1c
commit c90179beb5
9 changed files with 18 additions and 19 deletions
+1 -1
View File
@@ -12,7 +12,7 @@
#include <pthread.h>
#include <unistd.h>
#define usleep rt_thread_sleep
#define usleep rt_thread_delay
static void *test_thread(void *v_param) {
return NULL;
+1 -1
View File
@@ -18,7 +18,7 @@
#include <sys/time.h>
#include <unistd.h>
#define usleep rt_thread_sleep
#define usleep rt_thread_delay
/* Our event variable using a condition variable contruct. */
typedef struct {
+1 -1
View File
@@ -57,7 +57,7 @@ FINSH_FUNCTION_EXPORT(libc_lseek, lseek test for libc);
void sleep(int tick)
{
rt_thread_sleep(tick);
rt_thread_delay(tick);
}
int libc_fseek(void)