Fetching contributors…
Cannot retrieve contributors at this time
23 lines (16 sloc) 540 Bytes
#ifndef _GCODE_PROCESS_H
#define _GCODE_PROCESS_H
#include "gcode_parse.h"
// the current tool
extern uint8_t tool;
// the tool to be changed when we get an M6
extern uint8_t next_tool;
void zero_x(void);
void zero_y(void);
void zero_z(void);
void zero_e(void);
// this is where we construct a move without a gcode command, useful for gcodes which require multiple moves eg; homing
void SpecialMoveE(int32_t e, uint32_t f);
// when we have a whole line, feed it to this
void process_gcode_command(void);
#endif /* _GCODE_PROCESS_H */