debug modbus
This commit is contained in:
@@ -56,8 +56,8 @@ static void chrg_north_thread_entry (void *data)
|
||||
}
|
||||
|
||||
|
||||
rt_kprintf("%s\r\n", (char *)pNOR->rx_buf);
|
||||
chrg_tty_send(pTTY, pNOR->rx_buf, len);
|
||||
//rt_kprintf("%s\r\n", (char *)pNOR->rx_buf);
|
||||
//chrg_tty_send(pTTY, pNOR->rx_buf, len);
|
||||
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ static int chrg_north_init (void)
|
||||
INIT_APP_EXPORT(chrg_north_init);
|
||||
|
||||
|
||||
#if 1
|
||||
#if 0
|
||||
static int north_send(rt_uint8_t argc, char **argv)
|
||||
{
|
||||
return chrg_north_send("1234567890abcdef", 16);
|
||||
|
||||
Reference in New Issue
Block a user