make it compile with arduino 1.0 ; function is still untested.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user