print if not start_flag_detected

pico-v0.38-all
alanbjohnston 3 years ago committed by GitHub
parent 23dfb04d95
commit 7cdc2f87d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -189,7 +189,9 @@ bool get_camera_image(bool debug_camera) {
while ((!finished) && ((millis() - time_start) < CAMERA_TIMEOUT)) {
if (Serial2.available()) { // If anything comes in Serial2
byte octet = Serial2.read();
byte octet = Serial2.read();
if (!start_flag_detected)
Serial.write(octet);
if (start_flag_complete) {
// Serial.println("Start flag complete detected");

Loading…
Cancel
Save

Powered by TurnKey Linux.