|
|
|
@ -190,6 +190,8 @@ bool get_camera_image(bool debug_camera) {
|
|
|
|
|
|
|
|
|
|
|
|
if (Serial2.available()) { // If anything comes in Serial2
|
|
|
|
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) {
|
|
|
|
if (start_flag_complete) {
|
|
|
|
// Serial.println("Start flag complete detected");
|
|
|
|
// Serial.println("Start flag complete detected");
|
|
|
|
|