From ab03f3a3aaef258f571510bb8079fe1616042dda Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 25 Aug 2022 07:15:38 -0400 Subject: [PATCH] changed order in setup callsign then config --- cubesatsim/cubesatsim.ino | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 4fcd2806..166e48e5 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -130,11 +130,6 @@ void setup() { if (i2c_bus3 == false) config_simulated_telem(); - config_telem(); - -// setup radio depending on mode - config_radio(); - /* if (check_for_wifi()) { wifi = true; @@ -162,6 +157,11 @@ void setup() { sleep(5.0); /**/ + config_telem(); + +// setup radio depending on mode + config_radio(); + start_button_isr(); sampleTime = (unsigned int) millis();