From 0ff8ae7716153372e604e1b633271ca892a0706e Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 5 Jul 2024 09:47:08 -0400 Subject: [PATCH] Update main.c debug payload read --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index ac14ed71..d0dc9df4 100644 --- a/main.c +++ b/main.c @@ -1980,7 +1980,7 @@ int get_payload_serial(int debug_camera) { if (serialDataAvail(uart_fd)) { char octet = (char) serialGetchar(uart_fd); -// printf("%c", octet); + printf("%c", octet); fflush(stdout); if (start_flag_complete) { @@ -1996,7 +1996,7 @@ int get_payload_serial(int debug_camera) { if (flag_count >= strlen(end_flag)) { // complete image index1 -= strlen(end_flag); buffer2[index1++] = 0; -// printf(" Payload length: %d \n",index1); + printf(" Payload length: %d \n",index1); // write_jpg(); finished = TRUE;