Skip to content

Commit

Permalink
Merge pull request #167 from OhmEye/master
Browse files Browse the repository at this point in the history
Fix compile error if SD_FAST_XFER_AKTIV is on and PID is off
  • Loading branch information
kliment committed May 1, 2012
2 parents 52f7f30 + 976c90b commit d651a6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sprinter/Sprinter.pde
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,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()
Expand All @@ -371,7 +371,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;
Expand Down

0 comments on commit d651a6c

Please sign in to comment.