From abbfe0a68fcf50f8b0f887dfa59d0cf8c3396c3c Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Sat, 19 Oct 2024 18:20:55 -0700 Subject: [PATCH] fix node gettingStarted example --- examples/node/ts/gettingStarted.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/node/ts/gettingStarted.ts b/examples/node/ts/gettingStarted.ts index 37a3ea8..47e3b8d 100644 --- a/examples/node/ts/gettingStarted.ts +++ b/examples/node/ts/gettingStarted.ts @@ -78,7 +78,7 @@ export async function setup(): Promise { * @param count The number of payloads to send */ export async function master(example: AppState, count: number | null) { - example.radio.startListening(); + example.radio.stopListening(); for (let i = 0; i < (count || 5); i++) { const start = process.hrtime.bigint(); const result = example.radio.send(example.payload);