Browse Source

Don't display service prompt unless needed (#21654)

vanilla_fb_2.0.x
Jim Hyslop 4 years ago
committed by Scott Lahteine
parent
commit
011a344500
  1. 1
      Marlin/src/module/printcounter.cpp

1
Marlin/src/module/printcounter.cpp

@ -319,6 +319,7 @@ void PrintCounter::reset() {
} }
bool PrintCounter::needsService(const int index) { bool PrintCounter::needsService(const int index) {
if (!loaded) loadStats();
switch (index) { switch (index) {
#if SERVICE_INTERVAL_1 > 0 #if SERVICE_INTERVAL_1 > 0
case 1: return data.nextService1 == 0; case 1: return data.nextService1 == 0;

Loading…
Cancel
Save