mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
remove log command
This commit is contained in:
1 parent
eaa21d5975
commit
7eb3676aaf
1 file changed
-7
@@ -1200,13 +1200,6 @@ void cmd_parser(void) __banked
|
|||||||
parse_port();
|
parse_port();
|
||||||
} else if (cmd_compare(0, "mtu") && cmd_words_b[1] > 0) {
|
} else if (cmd_compare(0, "mtu") && cmd_words_b[1] > 0) {
|
||||||
parse_mtu();
|
parse_mtu();
|
||||||
} else if (cmd_compare(0, "log")) {
|
|
||||||
print_string("Logging to UDP.\n");
|
|
||||||
uip_len = 100;
|
|
||||||
for (uint8_t i=0; i<uip_len; i++)
|
|
||||||
uip_buf[i+12] = i;
|
|
||||||
print_string("STP TX\n");
|
|
||||||
tcpip_output();
|
|
||||||
} else if (cmd_compare(0, "syslog")) {
|
} else if (cmd_compare(0, "syslog")) {
|
||||||
if (cmd_words_b[1] > 0 && cmd_compare(1, "on")) {
|
if (cmd_words_b[1] > 0 && cmd_compare(1, "on")) {
|
||||||
syslog_start();
|
syslog_start();
|
||||||
|
|||||||
Reference in new issue
Block a user