\r
\r
static unsigned char parmbuf[8];\r
-#define BUFSIZ 512\r
-#define CC_BUFFER_SIZE ((BUFSIZ)+32)\r
+#define CC_BUFSIZ 512\r
+#define CC_BUFFER_SIZE ((CC_BUFSIZ)+32)\r
volatile unsigned int _CIOBUF_[CC_BUFFER_SIZE] __attribute__ ((section (".cio")));\r
-static unsigned char CIOTMPBUF[BUFSIZ];\r
+static unsigned char CIOTMPBUF[CC_BUFSIZ];\r
static uint16 cio_tmp_buf_index = 0;\r
\r
/***************************************************************************/\r
// WARNING. Can only handle count == 1!\r
if (count != 1) _exit(1);\r
\r
- if (count > BUFSIZ) count = BUFSIZ;\r
+ if (count > CC_BUFSIZ) count = CC_BUFSIZ;\r
\r
- if (cio_tmp_buf_index < BUFSIZ) {\r
+ if (cio_tmp_buf_index < CC_BUFSIZ) {\r
CIOTMPBUF[cio_tmp_buf_index++] = *buf;\r
\r
if (*buf != 0xA) { // Only flush if newline\r