diff --git a/Makefile b/Makefile index 125b5dc..9bd9a90 100644 --- a/Makefile +++ b/Makefile @@ -96,7 +96,7 @@ PROGBAUD = 57600 PROGRAM = mendel -SOURCES = $(PROGRAM).c serial.c dda.c gcode_parse.c gcode_process.c timer.c temp.c sermsg.c dda_queue.c watchdog.c debug.c sersendf.c heater.c analog.c delay.c intercom.c pinio.c clock.c +SOURCES = $(PROGRAM).c serial.c dda.c gcode_parse.c gcode_process.c timer.c temp.c sermsg.c dda_queue.c watchdog.c debug.c sersendf.c heater.c analog.c delay.c intercom.c pinio.c clock.c home.c ARCH = avr- CC = $(ARCH)gcc diff --git a/gcode_process.c b/gcode_process.c index 694b716..a4abaa8 100644 --- a/gcode_process.c +++ b/gcode_process.c @@ -17,6 +17,7 @@ #include "debug.h" #include "clock.h" #include "config.h" +#include "home.h" // the current tool uint8_t tool;