Merge pull request #168 from kliment/master

Bug: turn on SD_FAST_XFER_AKTIV and compilation fails if PID is
This commit is contained in:
midopple 2012-05-01 23:01:05 -07:00
commit 5a60fcd6f5

View file

@ -392,7 +392,7 @@ unsigned char manage_monitor = 255;
#ifdef SD_FAST_XFER_AKTIV
#ifdef PIDTEMP
extern int g_heater_pwm_val;
extern volatile unsigned char g_heater_pwm_val;
#endif
void fast_xfer()
@ -404,7 +404,9 @@ unsigned char manage_monitor = 255;
if(HEATER_0_PIN > -1) WRITE(HEATER_0_PIN,LOW);
if(HEATER_1_PIN > -1) WRITE(HEATER_1_PIN,LOW);
#ifdef PIDTEMP
g_heater_pwm_val = 0;
#endif
lastxferchar = 1;
xferbytes = 0;