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:
- 1:502e5a0c14c3
- Parent:
- 0:488aa8153e15
- Child:
- 3:ae1f53883bc0
--- 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
}