Also suppress keepalive with suspend_auto_report

This commit is contained in:
Scott Lahteine
2018-03-21 00:29:09 -05:00
parent 8dfaf1539e
commit ae39fbd646
4 changed files with 6 additions and 6 deletions

View File

@ -195,7 +195,7 @@
// 2 : disply of the map data on a RepRap Graphical LCD Panel
void unified_bed_leveling::display_map(const int map_type) {
#if HAS_AUTO_REPORTING
#if HAS_AUTO_REPORTING || ENABLED(HOST_KEEPALIVE_FEATURE)
suspend_auto_report = true;
#endif
@ -264,7 +264,7 @@
SERIAL_EOL();
}
#if HAS_AUTO_REPORTING
#if HAS_AUTO_REPORTING || ENABLED(HOST_KEEPALIVE_FEATURE)
suspend_auto_report = false;
#endif
}