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

только в Serial1 для WIFI
This commit is contained in:
Sergey
2020-03-30 10:25:43 +03:00
parent 63b525165e
commit 4b6268f124
3 changed files with 9 additions and 5 deletions

View File

@@ -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)

View File

@@ -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

View File

@@ -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