lcd4l: rename OnAfterError->OnError

This commit is contained in:
2021-07-17 22:49:19 +02:00
parent f9ad744722
commit 32973379b5
3 changed files with 5 additions and 5 deletions

View File

@@ -168,7 +168,7 @@ void CLCD4l::StartLCD4l()
if (exec_initscript("lcd4linux", "start", "systemctl"))
OnAfterStart();
else
OnAfterError();
OnError();
}
}
@@ -191,7 +191,7 @@ void CLCD4l::StopLCD4l()
if (exec_initscript("lcd4linux", "stop", "systemctl"))
OnAfterStop();
else
OnAfterError();
OnError();
}
void CLCD4l::SwitchLCD4l()
@@ -886,7 +886,7 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
if (exec_initscript("lcd4linux", "restart", "systemctl"))
OnAfterRestart();
else
OnAfterError();
OnError();
}
}
}