JongYong Park / Mbed 2 deprecated NUCLEO-F767_LIFI_4CH_os2_v2

Dependencies:   mbed

Revision:
1:502e5a0c14c3
Parent:
0:488aa8153e15
Child:
3:ae1f53883bc0
diff -r 488aa8153e15 -r 502e5a0c14c3 lifiReceiver.cpp
--- a/lifiReceiver.cpp	Wed Mar 20 09:24:35 2019 +0000
+++ b/lifiReceiver.cpp	Thu Mar 21 00:20:37 2019 +0000
@@ -235,14 +235,14 @@
     }
     rx_vars[channel].old_edge_val = rx_vars[channel].edge_val ;
     
-//#if USE_LIFI_RX_CHECK_QUEUE        
-//    if((rx_vars[channel].new_word == 1)  && (channel == LIFI_ACTUAL_MAX_CHANNEL_NUM_INDEX)) 
-//    {
-//        //printf("!");
-//        // https://os.mbed.com/forum/bugs-suggestions/topic/28244/?page=1#comment-53612
-//        lifi_tx_check_queue.call(LifiRx_LoopOOK);
-//    }
-//#endif      
+#if USE_LIFI_RX_CHECK_QUEUE        
+    if((rx_vars[channel].new_word == 1)  && (channel == LIFI_ACTUAL_MAX_CHANNEL_NUM_INDEX)) 
+    {
+        //printf("!");
+        // https://os.mbed.com/forum/bugs-suggestions/topic/28244/?page=1#comment-53612
+        lifi_tx_check_queue.call(LifiRx_LoopOOK);
+    }
+#endif      
 }