From 9d080f260b4a45b92247f7c0774f2e33c7bc1384 Mon Sep 17 00:00:00 2001 From: kliment Date: Tue, 29 Mar 2011 08:02:08 +0200 Subject: Timediff was not declared with SD disabled --- Tonokip_Firmware/Tonokip_Firmware.pde | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tonokip_Firmware/Tonokip_Firmware.pde b/Tonokip_Firmware/Tonokip_Firmware.pde index 468c32f..2e94cad 100644 --- a/Tonokip_Firmware/Tonokip_Firmware.pde +++ b/Tonokip_Firmware/Tonokip_Firmware.pde @@ -59,6 +59,8 @@ float time_for_move; long gcode_N, gcode_LastN; bool relative_mode = false; //Determines Absolute or Relative Coordinates bool relative_mode_e = false; //Determines Absolute or Relative E Codes while in Absolute Coordinates mode. E is always relative in Relative Coordinates mode. +long timediff=0; + // comm variables #define MAX_CMD_SIZE 256 @@ -91,7 +93,6 @@ SdFile root; SdFile file; uint32_t filesize=0; uint32_t sdpos=0; -long timediff=0; bool sdmode=false; bool sdactive=false; int16_t n; -- cgit v1.2.1