Преглед изворни кода

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;