Grbl can now take advantage of the extra memory in the 328

This commit is contained in:
Simen Svale Skogsrud
2010-03-14 23:45:31 +01:00
parent e409f10047
commit 937c70cb50
5 changed files with 22 additions and 33 deletions

View File

@@ -26,7 +26,7 @@
#include <math.h>
#include "nuts_bolts.h"
#include <avr/pgmspace.h>
#define LINE_BUFFER_SIZE 30
#define LINE_BUFFER_SIZE 50
char line[LINE_BUFFER_SIZE];
uint8_t char_counter;
@@ -52,6 +52,7 @@ void sp_process()
{
if((c == '\n')) { // Line is complete. Then execute!
line[char_counter] = 0;
printString(line); printPgmString(PSTR("\r\n"));
gc_execute_line(line);
char_counter = 0;
prompt();