[commands] CommandScheduler: Provide function to print watchdog epochs (#6582)

This commit is contained in:
Kaya
2024-05-07 01:53:14 +03:00
committed by GitHub
parent 2e71e85b8d
commit 408980462f
3 changed files with 14 additions and 0 deletions

View File

@@ -428,6 +428,10 @@ void CommandScheduler::Enable() {
m_impl->disabled = false;
}
void CommandScheduler::PrintWatchdogEpochs() {
m_watchdog.PrintEpochs();
}
void CommandScheduler::OnCommandInitialize(Action action) {
m_impl->initActions.emplace_back(std::move(action));
}