From ec2158091f1953844127917fde04b7ae504617a3 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 3 Jul 2022 12:17:15 -0400 Subject: [PATCH] fixed mode typo --- cubesatsim/cubesatsim.ino | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 5716c253..4bd2b879 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -43,13 +43,12 @@ void setup() { Serial.println("Pico v0.1 starting...\n\n"); -// set all Pico GPIO pins to input -/* +// set all Pico GPIO pins to input for (int i = 6; i < 29; i++) { pinMode(i, INPUT); } pinMode(LED_BUILTIN, OUTPUT); // Set LED pin to output -*/ + // detect Pi Zero using 3.3V // if Pi is present, run Payload OK software @@ -183,7 +182,7 @@ void loop() { // encode as digits (APRS or CW mode) or binary (DUV FSK) - if ((mode == BPSK) || (mode = FSK)) + if ((mode == BPSK) || (mode == FSK)) get_tlm_fox(); else if (mode == AFSK) send_packet();