diff options
author | kliment <kliment.yanev@gmail.com> | 2011-03-29 08:02:08 +0200 |
---|---|---|
committer | kliment <kliment.yanev@gmail.com> | 2011-03-29 08:02:08 +0200 |
commit | 9d080f260b4a45b92247f7c0774f2e33c7bc1384 (patch) | |
tree | 2d2c648968e329c635e0c99e4ea327b088468107 | |
parent | 666671e3066157d18088c6e16a6870993bfa8b62 (diff) |
Timediff was not declared with SD disabled
-rw-r--r-- | Tonokip_Firmware/Tonokip_Firmware.pde | 3 |
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; |