瀏覽代碼

Change buffer size: 256 bytes

tmk 11 年之前
父節點
當前提交
be19b2bf32
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      protocol/serial_uart.c

+ 1 - 1
protocol/serial_uart.c

@@ -47,7 +47,7 @@ void serial_init(void)
 }
 
 // RX ring buffer
-#define RBUF_SIZE   8
+#define RBUF_SIZE   256
 static uint8_t rbuf[RBUF_SIZE];
 static uint8_t rbuf_head = 0;
 static uint8_t rbuf_tail = 0;