More coverity fixes

This commit is contained in:
Erik van der Zalm
2014-05-15 22:09:50 +02:00
parent 88b494678f
commit cfb98ef682
3 changed files with 4 additions and 1 deletions

View File

@ -609,6 +609,7 @@ static float analog2temp(int raw, uint8_t e) {
SERIAL_ERROR((int)e);
SERIAL_ERRORLNPGM(" - Invalid extruder number !");
kill();
return 0.0;
}
#ifdef HEATER_0_USES_MAX6675
if (e == 0)