mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-03-15 10:46:18 +00:00
🩹 Fix SERVICE_INTERVAL reset (#24888)
This commit is contained in:
parent
473d2b888a
commit
9772f7806b
3 changed files with 14 additions and 14 deletions
|
@ -314,13 +314,13 @@ void PrintCounter::reset() {
|
|||
void PrintCounter::resetServiceInterval(const int index) {
|
||||
switch (index) {
|
||||
#if SERVICE_INTERVAL_1 > 0
|
||||
case 1: data.nextService1 = SERVICE_INTERVAL_SEC_1;
|
||||
case 1: data.nextService1 = SERVICE_INTERVAL_SEC_1; break;
|
||||
#endif
|
||||
#if SERVICE_INTERVAL_2 > 0
|
||||
case 2: data.nextService2 = SERVICE_INTERVAL_SEC_2;
|
||||
case 2: data.nextService2 = SERVICE_INTERVAL_SEC_2; break;
|
||||
#endif
|
||||
#if SERVICE_INTERVAL_3 > 0
|
||||
case 3: data.nextService3 = SERVICE_INTERVAL_SEC_3;
|
||||
case 3: data.nextService3 = SERVICE_INTERVAL_SEC_3; break;
|
||||
#endif
|
||||
}
|
||||
saveStats();
|
||||
|
|
Loading…
Add table
Reference in a new issue