Merge pull request #4691 from esenapaj/Suppress-warnings

Suppress warnings
This commit is contained in:
Scott Lahteine 2016-08-24 21:35:18 -05:00 committed by GitHub
commit 2c3de5ee46

View file

@ -8487,13 +8487,10 @@ void prepare_move_to_destination() {
void handle_status_leds(void) {
if (ELAPSED(millis(), next_status_led_update_ms)) {
next_status_led_update_ms += 500; // Update every 0.5s
float max_temp =
float max_temp = 0.0;
#if HAS_TEMP_BED
MAX3(max_temp, thermalManager.degTargetBed(), thermalManager.degBed())
#else
0.0
max_temp = MAX3(max_temp, thermalManager.degTargetBed(), thermalManager.degBed());
#endif
;
HOTEND_LOOP() {
max_temp = MAX3(max_temp, thermalManager.degHotend(e), thermalManager.degTargetHotend(e));
}