mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Merge pull request #329 from DrDoof/feat/cmd-output
httpd: answer /cmd with what the command printed, and show it in the console tab
This commit is contained in:
7 files changed
+63
-6
No files matched your search
@@ -37,6 +37,10 @@ extern __xdata uint8_t sbuf[SBUF_SIZE];
|
||||
// Size of the TCP Output buffer
|
||||
#define TCP_OUTBUF_SIZE 2500
|
||||
|
||||
// Appended when a captured command wrote more than the output buffer holds,
|
||||
// so a clipped listing is visibly clipped instead of silently short.
|
||||
#define CMD_TRUNCATED "\n[output truncated]\n"
|
||||
|
||||
// Size of the port name, including the terminating null byte
|
||||
#define PORT_NAME_SIZE 32
|
||||
|
||||
|
||||
Reference in new issue
Block a user