From 911acbfee898b14d82d25e0409f5d79ec7b8a14e Mon Sep 17 00:00:00 2001 From: zhouhuang Date: Mon, 13 Jan 2025 09:43:46 +0800 Subject: [PATCH] update --- das-dn/hostadsbf/hostadsbf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/das-dn/hostadsbf/hostadsbf.h b/das-dn/hostadsbf/hostadsbf.h index a221b098..1819952c 100644 --- a/das-dn/hostadsbf/hostadsbf.h +++ b/das-dn/hostadsbf/hostadsbf.h @@ -33,7 +33,7 @@ struct myAdsVariable { { if (!m_Route.IsConnected()) return FALSE; uint32_t bytesRead = 0; - if (m_Handle.get() == 0) return FALSE; + if (*m_Handle.get() == 0) return FALSE; auto error = m_Route.ReadReqEx2(m_IndexGroup, *m_Handle, size,