add sink source

This commit is contained in:
wmano
2025-08-31 22:41:57 +08:00
parent 050eb19fc8
commit d633c6b55f
14 changed files with 657 additions and 309 deletions
+5 -1
View File
@@ -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