This commit is contained in:
wmano
2025-10-19 22:11:21 +08:00
parent 1e6443a767
commit d52c94b866
11 changed files with 201 additions and 19 deletions
+4 -2
View File
@@ -2,6 +2,8 @@
#include <string.h>
#include <rtthread.h>
#include "chrg_north.h"
#include "chrg_south.h"
#include "chrg_pkg.h"
#include "chrg_utils.h"
@@ -38,10 +40,10 @@ int chrg_pkg_send (eIDX_TTY idx, rt_uint8_t *data, rt_uint16_t len)
switch (idx) {
case IDX_TTY_NORTH:
// pTTY = chrgnorth.tty;
pTTY = chrgnorth.tty;
break;
case IDX_TTY_SOUTH:
// pTTY = chrgsouth.tty;
pTTY = chrgsouth.tty;
break;
default:
return -1;