Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: lifiReceiver.cpp
- Revision:
 - 3:ae1f53883bc0
 - Parent:
 - 1:502e5a0c14c3
 - Child:
 - 11:8ffa8a36126f
 
--- a/lifiReceiver.cpp	Mon Apr 01 05:03:34 2019 +0000
+++ b/lifiReceiver.cpp	Tue Apr 02 07:24:39 2019 +0000
@@ -235,7 +235,7 @@
     }
     rx_vars[channel].old_edge_val = rx_vars[channel].edge_val ;
     
-#if USE_LIFI_RX_CHECK_QUEUE        
+#if (USE_MBED_OS5 && USE_LIFI_RX_CHECK_QUEUE)        
     if((rx_vars[channel].new_word == 1)  && (channel == LIFI_ACTUAL_MAX_CHANNEL_NUM_INDEX)) 
     {
         //printf("!");