Skip to content

Commit 76badaf

Browse files
authored
fix default conversion
1 parent de7c004 commit 76badaf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Datapoint/Converter.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ int Converter::toString(char* buf, std::size_t maxLen, VariantValue value) const
1919

2020
void Converter::fromString(const char* buf, VariantValue* result) const {
2121
(void) buf;
22-
return VariantValue(0ULL);
22+
uint64_t retVal = 0;
23+
result = VariantValue(retVal);
2324
}
2425

2526
VariantValue Div10Convert::decode(const uint8_t* data, uint8_t len) const {

0 commit comments

Comments
 (0)