Fix compiler warnings

- Patched up for most included configurations
This commit is contained in:
Scott Lahteine
2015-03-27 20:29:05 -07:00
parent ffe0df4b36
commit ba871e46bf
17 changed files with 381 additions and 308 deletions

View File

@ -586,7 +586,9 @@ void manage_heater() {
if (ct < max(HEATER_0_MINTEMP, 0.01)) min_temp_error(0);
#endif //HEATER_0_USES_MAX6675
unsigned long ms = millis();
#if defined(WATCH_TEMP_PERIOD) || !defined(PIDTEMPBED) || HAS_AUTO_FAN
unsigned long ms = millis();
#endif
// Loop through all extruders
for (int e = 0; e < EXTRUDERS; e++) {