Skip to content

Commit

Permalink
fix(plc4go/spi): fix WSTRING production
Browse files Browse the repository at this point in the history
  • Loading branch information
sruehl committed May 30, 2023
1 parent b4e1c44 commit c9db23c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plc4go/spi/values/PlcValueHandler.go
Expand Up @@ -407,7 +407,7 @@ func (m DefaultValueHandler) NewPlcValueFromType(valueType apiValues.PlcValueTyp
if !isString {
return nil, errors.New("non-string to IEC61131_WSTRING conversion not implemented")
} else {
return NewPlcSTRING(stringValue), nil
return NewPlcWSTRING(stringValue), nil
}
}

Expand Down

0 comments on commit c9db23c

Please sign in to comment.