29 lines
632 B
C
29 lines
632 B
C
/*
|
|
* Copyright (c) 2006-2021, RT-Thread Development Team
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*
|
|
* Change Logs:
|
|
* Date Author Notes
|
|
* 2022-06-15 ¸µÐ¡¶þ the first version
|
|
*/
|
|
#ifndef TASK_RTK_TASK_H_
|
|
#define TASK_RTK_TASK_H_
|
|
|
|
#include <rtthread.h>
|
|
#include <rtdevice.h>
|
|
#include <user_uart.h>
|
|
#include <rtklib.h>
|
|
|
|
|
|
#define RT_COMPLETED 1
|
|
#define RT_UNCOMPLETED 0
|
|
|
|
#define DEFAULT_USER_THREAD_STACK_SIZE 1024
|
|
#define DEFAULT_USER_THREA_TICK 5
|
|
|
|
extern uart_simpack uart3_simpack; //from user_uart.h
|
|
extern rtcm_t rtcm_data; //from rtklib.h
|
|
void task_init(void);
|
|
#endif /* TASK_RTK_TASK_H_ */
|