Give a dummy response to M105 with zero thermistors (#15568)

This commit is contained in:
Antti Andreimann
2019-10-15 13:30:52 -05:00
committed by Scott Lahteine
parent fe4c69b64a
commit d47f29bd4c
2 changed files with 3 additions and 2 deletions

View File

@ -39,7 +39,9 @@ void GcodeSuite::M105() {
#endif
);
#else // !HAS_TEMP_SENSOR
SERIAL_ERROR_MSG(MSG_ERR_NO_THERMISTORS);
// Hosts such as printrun send M105 to check if firmware is responding.
SERIAL_ECHOPGM(MSG_OK);
SERIAL_ECHOPGM(" T:0");
#endif
SERIAL_EOL();