From: Erik van der Zalm Date: Fri, 18 Nov 2011 18:04:09 +0000 (+0100) Subject: Merge remote-tracking branch 'origin/Marlin_v1' into Marlin_v1 X-Git-Tag: iwj-success-2012-07-29~227^2~1 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e63e224a33011f2aa302ee435acc066af8a87ddb;p=marlin.git Merge remote-tracking branch 'origin/Marlin_v1' into Marlin_v1 Conflicts: Marlin/Configuration.h Marlin/Marlin.pde --- e63e224a33011f2aa302ee435acc066af8a87ddb diff --cc Marlin/Configuration.h index 7cbb66c,1e12d4e..cf38cea --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@@ -243,10 -243,14 +242,12 @@@ const bool ENDSTOPS_INVERTING = true; / // The watchdog waits for the watchperiod in milliseconds whenever an M104 or M109 increases the target temperature // this enables the watchdog interrupt. //#define USE_WATCHDOG - // you cannot reboot on a mega2560 due to a bug in he bootloader. Hence, you have to reset manually, and this is done hereby: + #ifdef USE_WATCHDOG + // you cannot reboot on a mega2560 due to a bug in he bootloader. Hence, you have to reset manually, and this is done hereby: - #define RESET_MANUAL - #define WATCHDOG_TIMEOUT 4 //seconds -#endif - +//#define RESET_MANUAL +//#define WATCHDOG_TIMEOUT 4 //seconds + // extruder advance constant (s2/mm3) // // advance (steps) = STEPS_PER_CUBIC_MM_E * EXTUDER_ADVANCE_K * cubic mm per second ^ 2 diff --cc Marlin/Marlin.pde index 3a6d4e6,f808742..128f697 --- a/Marlin/Marlin.pde +++ b/Marlin/Marlin.pde @@@ -232,9 -239,11 +239,10 @@@ void setup( axis_steps_per_sqr_second[i] = max_acceleration_units_per_sq_second[i] * axis_steps_per_unit[i]; } - + tp_init(); // Initialize temperature loop plan_init(); // Initialize planner; st_init(); // Initialize stepper; - tp_init(); // Initialize temperature loop + wd_init(); }