Browse Source

В ответ на M105 не выводить "ok"

перед температурой
pull/1/head
Sergey 5 years ago
parent
commit
4334ca1bb0
  1. 2
      Marlin/src/gcode/temp/M105.cpp
  2. 2
      Marlin/src/module/temperature.cpp

2
Marlin/src/gcode/temp/M105.cpp

@ -31,7 +31,9 @@ void GcodeSuite::M105() {
const int8_t target_extruder = get_target_extruder_from_command(); const int8_t target_extruder = get_target_extruder_from_command();
if (target_extruder < 0) return; if (target_extruder < 0) return;
#if DISABLED(MKS_WIFI)
SERIAL_ECHOPGM(STR_OK); SERIAL_ECHOPGM(STR_OK);
#endif
#if HAS_TEMP_SENSOR #if HAS_TEMP_SENSOR

2
Marlin/src/module/temperature.cpp

@ -3002,7 +3002,9 @@ void Temperature::tick() {
default: k = 'B'; break; default: k = 'B'; break;
#endif #endif
} }
#if DISABLED(MKS_WIFI)
SERIAL_CHAR(' '); SERIAL_CHAR(' ');
#endif
SERIAL_CHAR(k); SERIAL_CHAR(k);
#if HOTENDS > 1 #if HOTENDS > 1
if (e >= 0) SERIAL_CHAR('0' + e); if (e >= 0) SERIAL_CHAR('0' + e);

Loading…
Cancel
Save