From 76dafd47838c44fd89b8a98ebcdbcd66db8d14fc Mon Sep 17 00:00:00 2001 From: John Date: Sun, 19 Jun 2022 16:02:15 +0200 Subject: [PATCH] continue initial scan until succeeded (solves #596) --- src/ebusd/mainloop.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ebusd/mainloop.cpp b/src/ebusd/mainloop.cpp index f49bc139..61f2d97c 100644 --- a/src/ebusd/mainloop.cpp +++ b/src/ebusd/mainloop.cpp @@ -291,8 +291,7 @@ void MainLoop::run() { } if (result != RESULT_OK) { logError(lf_main, "initial scan failed: %s", getResultCode(result)); - } - if (result != RESULT_ERR_NO_SIGNAL) { + } else { reload = false; } }