diff options
author | midopple <mdoppler@gmx.at> | 2012-04-20 15:54:54 +0200 |
---|---|---|
committer | midopple <mdoppler@gmx.at> | 2012-04-20 15:54:54 +0200 |
commit | d8b0ac34530d24b0757aa9e09dc054567fd09754 (patch) | |
tree | 9a76f61df3281427212733ca511474daa932821e /Sprinter/heater.h | |
parent | 31ccfda44b9c1675d4a0b7b3f0788d7c8c29f218 (diff) |
- Extrudmultiply with code M221 Sxxx (S100 original Extrude value)
- use Feedratefaktor only when Extruded lenght > 0
- M106 / M107 can drive the FAN with PWM + Port check for not using Timer 1
- New Option --> FAN_SOFT_PWM, with this option the FAN PWM can use every digital I/O (PWM with 500 hz)
- Added M93 command. Sends current steps for all axis.
Diffstat (limited to 'Sprinter/heater.h')
-rw-r--r-- | Sprinter/heater.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Sprinter/heater.h b/Sprinter/heater.h index a1d2917..6e00a37 100644 --- a/Sprinter/heater.h +++ b/Sprinter/heater.h @@ -90,6 +90,9 @@ extern unsigned char manage_monitor; extern int heater_duty; #endif +#if defined(FAN_SOFT_PWM) && (FAN_PIN > -1) + extern volatile unsigned char g_fan_pwm_val; +#endif #ifdef AUTOTEMP extern float autotemp_max; @@ -112,7 +115,7 @@ extern unsigned char manage_monitor; -#ifdef PID_SOFT_PWM +#if defined(PID_SOFT_PWM) || (defined(FAN_SOFT_PWM) && (FAN_PIN > -1)) void init_Timer2_softpwm(void); #endif |