From a6b5928e812964c0cdb7b8ee7799da30d16b9eda Mon Sep 17 00:00:00 2001 From: Caleb Robson <94545082+Spartan2909@users.noreply.github.com> Date: Sat, 29 Apr 2023 12:41:19 +0100 Subject: [PATCH] Remove sentinel values --- main.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.ts b/main.ts index b8c541d..dfca1db 100644 --- a/main.ts +++ b/main.ts @@ -17,8 +17,5 @@ radio.onReceivedValue((name, value) => { } else if (name == "movement") { movement = value; IM01.appendFileLine("data.csv", `${time},${pulse},${movement}`); - pulse = -1; - time = -1; - movement = -1; } });