add more files
This commit is contained in:
@@ -2,13 +2,18 @@
|
||||
#define __CHRG_SOUTH_H__
|
||||
|
||||
#include <rtthread.h>
|
||||
#include "chrg_tty.h"
|
||||
|
||||
#define THRED_NAME_SOUTH "thr_sou"
|
||||
#define THR_NAME_SOUTH "thr_sou"
|
||||
|
||||
struct chrg_south_t {
|
||||
rt_thread_t tid;
|
||||
const char *name;
|
||||
|
||||
const char *name;
|
||||
struct rt_thread *tid;
|
||||
struct rt_mutex lock;
|
||||
|
||||
struct chrg_tty_t *tty;
|
||||
rt_uint16_t rx_len;
|
||||
rt_uint8_t rx_buf[SIZE_BUF_UART];
|
||||
};
|
||||
|
||||
extern struct chrg_south_t chrgsou;
|
||||
|
||||
Reference in New Issue
Block a user