Skip to content

Commit

Permalink
[driver] uint8 not uint128
Browse files Browse the repository at this point in the history
  • Loading branch information
Lham42 committed Oct 17, 2024
1 parent 29c6ad7 commit deb6149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/opc/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ inline std::pair<synnax::DataType, bool> 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};
Expand Down

0 comments on commit deb6149

Please sign in to comment.