diff options
Diffstat (limited to 'Sprinter')
-rw-r--r-- | Sprinter/Makefile | 2 | ||||
-rw-r--r-- | Sprinter/Sprinter.h | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/Sprinter/Makefile b/Sprinter/Makefile index 639cf1b..4d6326a 100644 --- a/Sprinter/Makefile +++ b/Sprinter/Makefile @@ -55,7 +55,7 @@ $(ARDUINO)/wiring_analog.c $(ARDUINO)/wiring_digital.c \ $(ARDUINO)/wiring_pulse.c \ $(ARDUINO)/wiring_shift.c $(ARDUINO)/WInterrupts.c CXXSRC = $(ARDUINO)/HardwareSerial.cpp $(ARDUINO)/WMath.cpp $(ARDUINO)/WString.cpp\ -$(ARDUINO)/Print.cpp ./SdFile.cpp ./SdVolume.cpp ./Sd2Card.cpp +$(ARDUINO)/Print.cpp ./SdFile.cpp ./SdVolume.cpp ./Sd2Card.cpp ./heater.cpp ./arc_func.cpp FORMAT = ihex diff --git a/Sprinter/Sprinter.h b/Sprinter/Sprinter.h index b70d1fd..9873843 100644 --- a/Sprinter/Sprinter.h +++ b/Sprinter/Sprinter.h @@ -95,10 +95,14 @@ void showString (PGM_P s); void manage_inactivity(byte debug); - +void get_command(); void get_coordinates(); void prepare_move(); void prepare_arc_move(char isclockwise); +FORCE_INLINE void process_commands(); +#ifdef USE_ARC_FUNCTION + FORCE_INLINE void get_arc_coordinates(); +#endif void kill(byte debug); @@ -110,9 +114,13 @@ void plan_buffer_line(float x, float y, float z, float e, float feed_rate); void plan_set_position(float x, float y, float z, float e); void st_wake_up(); void st_synchronize(); +void st_set_position(const long &x, const long &y, const long &z, const long &e); void check_buffer_while_arc(); +#ifdef SDSUPPORT +void print_disk_info(void); +#endif //SDSUPPORT #ifdef DEBUG void log_message(char* message); |