Skip to content

Commit

Permalink
Fix wrong function call name for str waveform that causes issue when …
Browse files Browse the repository at this point in the history
…setting a shorter value (#653)
  • Loading branch information
DiamondJoseph authored Nov 15, 2024
1 parent ec4b7d0 commit 9ea28ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ophyd_async/epics/core/_aioca.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class CaLongStrConverter(CaConverter[str]):
def __init__(self):
super().__init__(str, dbr.DBR_CHAR_STR, dbr.DBR_CHAR_STR)

def write_value_and_dbr(self, value: Any) -> Any:
def write_value(self, value: Any) -> Any:
# Add a null in here as this is what the commandline caput does
# TODO: this should be in the server so check if it can be pushed to asyn
return value + "\0"
Expand Down

0 comments on commit 9ea28ad

Please sign in to comment.