summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/include/comm
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-02-28 17:53:43 +0100
committerHarald Welte <laforge@gnumonks.org>2010-02-28 17:53:43 +0100
commit60298c914133459574d276476b851627637e0a4c (patch)
tree5d7bfa0054e0e5ced837c45e299638b89c62df24 /src/target/firmware/include/comm
parentca9f6eea61776dc35de36394e5207bfaff09d50f (diff)
ensure we always have 256bytes net data size, excluding 4 bytes headroom
Diffstat (limited to 'src/target/firmware/include/comm')
-rw-r--r--src/target/firmware/include/comm/sercomm_cons.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/firmware/include/comm/sercomm_cons.h b/src/target/firmware/include/comm/sercomm_cons.h
index 9682a998..11f66545 100644
--- a/src/target/firmware/include/comm/sercomm_cons.h
+++ b/src/target/firmware/include/comm/sercomm_cons.h
@@ -2,7 +2,7 @@
#define _SERCOMM_CONS_H
/* how large buffers do we allocate? */
-#define SERCOMM_CONS_ALLOC (256-4)
+#define SERCOMM_CONS_ALLOC 256
int sercomm_puts(const char *s);
int sercomm_putchar(int c);