I2C working only once, sensor working well, commissioning updated to be tested, Wohoooo!!! :-D

Dependencies:   FreescaleIAP mbed-rtos mbed

Fork of Japan_BAE1 by Team Fox

Revision:
12:af1d7e18b868
Parent:
9:194afacf7449
Child:
13:fb7facaf308b
--- a/main.cpp	Wed Apr 13 17:00:25 2016 +0000
+++ b/main.cpp	Wed Apr 13 18:34:28 2016 +0000
@@ -412,7 +412,7 @@
   
           pc.printf("\n\rEntered BCN   %f\n",t_start.read());
           
-          P_BCN_TX_MAIN();
+          FCTN_BCN_TX_MAIN();
     
 }
 
@@ -623,7 +623,7 @@
     }
     if(schedcount%3==0)
     { 
-       // F_BCN();
+       F_BCN();
     }
     schedcount++;
     printf("\n\r exited scheduler");
@@ -752,7 +752,7 @@
     //............................//
     FCTN_ACS_INIT();
     FCTN_EPS_INIT();
-    //P_BCN_INIT();
+    FCTN_BCN_INIT();
 
     
     FLAG();
@@ -765,7 +765,7 @@
    /* if (BCN_FEN == 0)                       //dummy implementation
     {
         pc.printf("\n\r RF silence ");
-        P_BCN_FEN();
+        FCTN_BCN_FEN();
         t_rfsilence.start();//Start the timer for RF_Silence
         while(t_rfsilence.read() < RF_SILENCE_TIME); 
     }