From 81d73c69fba3131be10f1232c0256011c28df70f Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 15 Apr 2023 14:35:08 -0400 Subject: [PATCH] in config_radio, only start if not running --- cubesatsim/cubesatsim.ino | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 3034cf1e..b537666e 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -2233,7 +2233,8 @@ void config_radio() if (sr_frs_present) digitalWrite(PD_PIN, HIGH); // Enable SR_FRS else { - start_clockgen(); + if (!clockgen_present) + start_clockgen(); if (clockgen_present) { if (clockgen.setClockFSK(frequency_offset)) { start_clockgen();