acceleration-Grbl now works with atmega 168 by disabling arc motion

This commit is contained in:
Simen Svale Skogsrud
2011-02-20 22:00:12 +01:00
parent 5eddbabcd3
commit 67d7607e60
6 changed files with 21 additions and 5 deletions

View File

@@ -31,7 +31,11 @@
// 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 200
#ifdef __AVR_ATmega328P__
#define RX_BUFFER_SIZE 256
#else
#define RX_BUFFER_SIZE 64
#endif
unsigned char rx_buffer[RX_BUFFER_SIZE];