pull/207/head
alanbjohnston 3 years ago committed by GitHub
parent 959ecb98ae
commit 3654affdc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -90,6 +90,8 @@ void setup() {
config_gpio(); config_gpio();
start_clockgen();
EEPROM.begin(512); EEPROM.begin(512);
#ifndef ARDUINO_ARCH_RP2040 #ifndef ARDUINO_ARCH_RP2040
@ -147,7 +149,6 @@ void setup() {
start_isr(); start_isr();
// start_pwm(); // start_pwm();
start_clockgen();
/**/ /**/
Serial.println("Transmitting callsign"); Serial.println("Transmitting callsign");
@ -3485,7 +3486,7 @@ bool TimerHandler0(struct repeating_timer *t) {
// Serial.print("\nR"); // Serial.print("\nR");
// Serial.print(" "); // Serial.print(" ");
// Serial.println(millis()); // Serial.println(millis());
/* /**/
if ((micros() - micro_timer)/bufLen > 835) { if ((micros() - micro_timer)/bufLen > 835) {
if (bufLen != 0) { if (bufLen != 0) {
Serial.print("R Microseconds: "); Serial.print("R Microseconds: ");
@ -3493,7 +3494,7 @@ bool TimerHandler0(struct repeating_timer *t) {
} }
} }
micro_timer = micros(); micro_timer = micros();
*/ /**/
} else { } else {
// Serial.print("R' Microseconds: "); // Serial.print("R' Microseconds: ");
// Serial.println(micros() - micro_timer2); // Serial.println(micros() - micro_timer2);

Loading…
Cancel
Save

Powered by TurnKey Linux.