added start flag detected print

pico-esp32-sstv
alanbjohnston 3 years ago committed by GitHub
parent cdd1c7e18d
commit 57a0955857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -380,10 +380,12 @@ int led_pin = LED_BUILTIN;
while ((!finished) && ((millis() - time_start) < SERIAL2_TIMEOUT)) {
if (Serial2.available()) { // If anything comes in Serial2
byte octet = Serial2.read();
byte octet = Serial2.read();
if (index1 == 2)
Serial.println("Start flag detected");
if (start_flag_complete) {
// Serial.println("Start flag complete detected");
Serial.println("Start flag complete detected");
// buffer2[index1++] = octet;
i.write(&octet, 1);
index1++;

Loading…
Cancel
Save

Powered by TurnKey Linux.