Update cubesatsim.ino

pull/153/head
alanbjohnston 4 years ago committed by GitHub
parent 477e4c2055
commit b0e5fc4669
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -128,13 +128,13 @@ void loop() {
digitalWrite(MAIN_LED_BLUE, HIGH);
}
// send telemetry
/*
if (mode != new_mode) {
mode = new_mode; // change modes if button pressed
config_telem();
config_radio();
}
*/
// Calculate loop time
Serial.print("\nLoop time: ");
Serial.println(millis() - startSleep);
@ -2321,7 +2321,7 @@ void process_pushbutton() {
Serial.println("PB: Switch to AFSK");
release = TRUE;
new_mode = AFSK;
setup();
// setup();
}
if (release == FALSE) {
@ -2334,7 +2334,7 @@ void process_pushbutton() {
Serial.println("PB: Switch to FSK");
release = TRUE;
new_mode = FSK;
setup();
// setup();
}
if (release == FALSE) {

Loading…
Cancel
Save

Powered by TurnKey Linux.