Add HAS_TEMP_SENSOR conditional

This commit is contained in:
Scott Lahteine
2018-03-07 01:53:50 -06:00
parent 94f5204629
commit ffbf63e6af
8 changed files with 15 additions and 10 deletions

View File

@@ -37,7 +37,7 @@ void GcodeSuite::M105() {
const int16_t port = command_queue_port[cmd_queue_index_r];
#endif
#if HAS_TEMP_HOTEND || HAS_TEMP_BED
#if HAS_TEMP_SENSOR
SERIAL_PROTOCOLPGM_P(port, MSG_OK);
thermalManager.print_heaterstates(
#if NUM_SERIAL > 1