From 83bd9c70cecb8a8089e19d042ee37a6c0bd0252c Mon Sep 17 00:00:00 2001 From: Silvio Date: Fri, 19 Feb 2016 11:45:15 +0100 Subject: [PATCH] Fix errors when compiling with servo support With autobedlevel enabled on prusa i3 hephestos (1st gen). However after send G29 gcode command the encoder stop working. Display and serial interface still working fine. --- Marlin/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Marlin/Makefile b/Marlin/Makefile index 42cbb7041467..9b21bb5704d4 100644 --- a/Marlin/Makefile +++ b/Marlin/Makefile @@ -236,6 +236,8 @@ CXXSRC += Action.cpp GuiAction.cpp AutoLevelManager.cpp OffsetManager.cpp Storag CXXSRC += Marlin_main.cpp MarlinSerial.cpp SDCache.cpp +CXXSRC += Servo.cpp + # Define all object files. OBJ = ${patsubst %.c,$(BUILD_DIR)/%.o,${CSRC}}