Update cubesatsim.ino

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

@ -101,6 +101,7 @@ void setup() {
void loop() {
int startSleep = millis();
loop_count++;
if (sim_mode == TRUE)
@ -130,6 +131,8 @@ void loop() {
// send telemetry
// delay some time
Serial.print("Loop time: ");
Serial.println(millis() - startSleep);
}
@ -2217,7 +2220,7 @@ void pwm_interrupt_handler() {
// Serial.println(wav_position);
if (wav_position++ > BUFFER_SIZE) { // 300) {
wav_position = wav_position - BUFFER_SIZE;
// Serial.println("Reset wav_position");
Serial.println("Reset wav_position");
}
}

Loading…
Cancel
Save

Powered by TurnKey Linux.