Browse Source

Вывод измененных сообщений

только в Serial1 для WIFI
pull/1/head
Sergey 5 years ago
parent
commit
4b6268f124
  1. 4
      Marlin/src/gcode/gcode.cpp
  2. 4
      Marlin/src/gcode/temp/M105.cpp
  3. 6
      Marlin/src/module/temperature.cpp

4
Marlin/src/gcode/gcode.cpp

@ -856,8 +856,8 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
#endif
#if ENABLED(MKS_WIFI)
case 991: mks_m991(); return;
case 997: mks_m997(); return;
case 991: if ( serial_port_index) {mks_m991();}; return;
case 997: if ( serial_port_index) {mks_m997();}; return;
#endif
#if ENABLED(PLATFORM_M997_SUPPORT)

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

@ -34,7 +34,9 @@ void GcodeSuite::M105() {
SERIAL_ECHOPGM(STR_OK);
#if ENABLED(MKS_WIFI)
SERIAL_EOL();
if ( serial_port_index){
SERIAL_EOL();
};
#endif
#if HAS_TEMP_SENSOR

6
Marlin/src/module/temperature.cpp

@ -3002,8 +3002,10 @@ void Temperature::tick() {
default: k = 'B'; break;
#endif
}
#if DISABLED(MKS_WIFI)
SERIAL_CHAR(' ');
#if ENABLED(MKS_WIFI)
if (!serial_port_index){
SERIAL_CHAR(' ');
}
#endif
SERIAL_CHAR(k);
#if HOTENDS > 1

Loading…
Cancel
Save