From af4a69fa334c9ff88fce06a3383c875ce1da9a48 Mon Sep 17 00:00:00 2001 From: Jasem Mutlaq Date: Wed, 2 Oct 2024 13:55:24 +0300 Subject: [PATCH] Due to change in upstream SDK, we must explicitly add the DNAME otherwise it cannot be detected by clients properly. --- indi-toupbase/indi_toupbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indi-toupbase/indi_toupbase.cpp b/indi-toupbase/indi_toupbase.cpp index 4f6c31a54..f5c8df78e 100644 --- a/indi-toupbase/indi_toupbase.cpp +++ b/indi-toupbase/indi_toupbase.cpp @@ -95,7 +95,7 @@ ToupBase::ToupBase(const XP(DeviceV2) *instance, const std::string &name) : m_In setVersion(TOUPBASE_VERSION_MAJOR, TOUPBASE_VERSION_MINOR); - setDeviceName(name.c_str()); + setDeviceName((std::string(DNAME) + " " + name).c_str()); if (m_Instance->model->flag & CP(FLAG_MONO)) m_MonoCamera = true;