make it compile with arduino 1.0 ; function is still untested.

This commit is contained in:
Bernhard
2011-12-01 16:38:01 +01:00
parent b0c3871750
commit 0bc9daa4f7
8 changed files with 675 additions and 651 deletions

View File

@ -101,7 +101,11 @@ extern uint8_t active_extruder;
/////semi-private stuff
#include <WProgram.h>
#if ARDUINO >= 100
#include "Arduino.h"
#else
#include "WProgram.h"
#endif
extern block_t block_buffer[BLOCK_BUFFER_SIZE]; // A ring buffer for motion instfructions
extern volatile unsigned char block_buffer_head; // Index of the next block to be pushed