From a2402ee3696072009be23fa182ae18a98ee6087f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Ant=C3=B4nio=20Cardoso?= Date: Thu, 7 Nov 2024 12:09:54 -0300 Subject: [PATCH] src: Update onvif initialization to async --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 6ddd2880..72a2374b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -11,7 +11,7 @@ async fn main() -> Result<(), std::io::Error> { // Settings should start before everybody else to ensure that the CLI are stored settings::manager::init(Some(&cli::manager::settings_file())).await; - controls::onvif::manager::Manager::init(); + controls::onvif::manager::Manager::init().await; mavlink::manager::Manager::init();