JongYong Park / Mbed 2 deprecated NUCLEO-F767_LIFI_4CH_os2_v2

Dependencies:   mbed

Revision:
27:19ee6e15ba5e
Parent:
26:26474003e443
Child:
30:75cb79acdcff
diff -r 26474003e443 -r 19ee6e15ba5e lifiReceiver.cpp
--- a/lifiReceiver.cpp	Tue Apr 09 12:06:34 2019 +0000
+++ b/lifiReceiver.cpp	Tue Apr 09 12:16:44 2019 +0000
@@ -396,6 +396,7 @@
 #if RX_DEBUG_FRAME
         printf("\n%dSYNC ",channel+1);
 #endif
+		printf("\n *** Channel[%d] Rx Started !!! *** ", channel +1 );
         return 0;
     }
     if ((*frame_state) != IDLE_STATE) { // we are synced
@@ -594,7 +595,7 @@
 
 //            memcpy(rx_vars[channel].rx_frame_buffer_save, rx_vars[channel].rx_frame_buffer, FRAME_BUFFER_SIZE);
             rx_vars[channel].is_received = true;
-            printf(" *** Channel[%d] Rx Finished !!! *** ", channel +1 );
+            printf("\n *** Channel[%d] Rx Finished !!! *** ", channel +1 );
             if (valid_chars) {
 //                //println(&(rx_frame_buffer[1]));
 //                //stringReceive = string(&(rx_frame_buffer[1]));