Update cubesatsim.ino

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

@ -114,6 +114,8 @@ void setup() {
transmit_on(); transmit_on();
ready = TRUE; // flag for core1 to start looping
Serial.print("s"); Serial.print("s");
Serial.print(" "); Serial.print(" ");
Serial.println(millis()); Serial.println(millis());
@ -2253,7 +2255,7 @@ void pwm_interrupt_handler() {
void setup1() { void setup1() {
Serial.begin(9600); Serial.begin(9600);
sleep(10.0); // sleep(10.0);
if (mode == FSK) if (mode == FSK)
{ {
@ -2271,6 +2273,9 @@ void setup1() {
// delay(500); // delay(500);
} }
while(!ready) // wait for core0 to start
sleep(0.1);
Serial.print("S"); Serial.print("S");
Serial.print(" "); Serial.print(" ");
Serial.println(millis()); Serial.println(millis());

Loading…
Cancel
Save

Powered by TurnKey Linux.