add initString when string is made known to simulator
This commit is contained in:
1 parent
8bfce47800
commit
d3ff1a689a
1 file changed
+1
-1
+1
-1
@@ -186,7 +186,7 @@ namespace pxsim.radio {
|
||||
}
|
||||
|
||||
export function receivedString(): string {
|
||||
return board().radioState.bus.datagram.lastReceived.payload.stringData || "";
|
||||
return initString(board().radioState.bus.datagram.lastReceived.payload.stringData || "");
|
||||
}
|
||||
|
||||
export function receivedTime(): number {
|
||||
|
||||
Reference in new issue
Block a user