From d3ff1a689ac0621f7bf7eac11e57687a6e5185af Mon Sep 17 00:00:00 2001 From: Tom Ball Date: Mon, 17 Apr 2017 20:12:34 -0700 Subject: [PATCH] add initString when string is made known to simulator --- sim/state/radio.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/state/radio.ts b/sim/state/radio.ts index fc1e3d28..00501f16 100644 --- a/sim/state/radio.ts +++ b/sim/state/radio.ts @@ -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 {