add sink source
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
#define __CHRG_SOUTH_H__
|
||||
|
||||
#include <rtthread.h>
|
||||
|
||||
#include "chrg_tty.h"
|
||||
#include "chrg_switch.h"
|
||||
|
||||
#define THR_NAME_SOUTH "thr_sou"
|
||||
|
||||
@@ -14,9 +16,11 @@ struct chrg_south_t {
|
||||
struct chrg_tty_t *tty;
|
||||
rt_uint16_t rx_len;
|
||||
rt_uint8_t rx_buf[SIZE_BUF_UART];
|
||||
|
||||
struct chrg_switch_t sw[TOTAL_SOUTH_CHS];
|
||||
};
|
||||
|
||||
extern struct chrg_south_t chrgsou;
|
||||
extern struct chrg_south_t chrgsouth;
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user