successfully maintained 30khz, lots of optimization of code and buffering allocation

This commit is contained in:
Simen Svale Skogsrud
2010-03-03 00:26:48 +01:00
parent 2be1f473cd
commit df243d2490
5 changed files with 56 additions and 102 deletions

View File

@@ -28,7 +28,7 @@
// using a ring buffer (I think), in which rx_buffer_head is the index of the
// location to which to write the next incoming character and rx_buffer_tail
// is the index of the location from which to read.
#define RX_BUFFER_SIZE 256
#define RX_BUFFER_SIZE 200
unsigned char rx_buffer[RX_BUFFER_SIZE];