summaryrefslogtreecommitdiff
path: root/Tonokip_Firmware
diff options
context:
space:
mode:
authorkliment <kliment.yanev@gmail.com>2011-03-29 08:02:08 +0200
committerkliment <kliment.yanev@gmail.com>2011-03-29 08:02:08 +0200
commit9d080f260b4a45b92247f7c0774f2e33c7bc1384 (patch)
tree2d2c648968e329c635e0c99e4ea327b088468107 /Tonokip_Firmware
parent666671e3066157d18088c6e16a6870993bfa8b62 (diff)
Timediff was not declared with SD disabled
Diffstat (limited to 'Tonokip_Firmware')
-rw-r--r--Tonokip_Firmware/Tonokip_Firmware.pde3
1 files changed, 2 insertions, 1 deletions
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;