Watchdog Bugfixes #432

Merged
muellerr merged 3 commits from bugfix_watchdog_init into develop 2023-03-06 11:34:39 +01:00
Showing only changes of commit f82cc2aeda - Show all commits

View File

@ -52,7 +52,7 @@ int obsw::obsw() {
bootDelayHandling();
bool initWatchFunction = false;
if (std::filesystem::current_path() == "/usr/bin") {
if (std::filesystem::current_path().string().find("/usr/bin") != std::string::npos) {
initWatchFunction = true;
}
ReturnValue_t result = WATCHDOG_HANDLER.initialize(initWatchFunction);