From deb614927b24cd66180b75ac8521fb7c7f426ecc Mon Sep 17 00:00:00 2001 From: Elham Islam Date: Thu, 17 Oct 2024 09:06:34 -0700 Subject: [PATCH] [driver] uint8 not uint128 --- driver/opc/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/opc/util.h b/driver/opc/util.h index f8a6d74e42..bc1cf2956c 100644 --- a/driver/opc/util.h +++ b/driver/opc/util.h @@ -345,7 +345,7 @@ inline std::pair variant_data_type(const UA_Variant &val }; if (UA_Variant_hasArrayType(&val, &UA_TYPES[UA_TYPES_BOOLEAN])) return { - synnax::UINT128, true + synnax::UINT8, true }; if (val.type == &UA_TYPES[UA_TYPES_FLOAT]) return {synnax::FLOAT32, false}; if (val.type == &UA_TYPES[UA_TYPES_DOUBLE]) return {synnax::FLOAT64, false};