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};