add lcd
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user