Updated BAE RTOS

Dependencies:   mbed-rtos mbed

Fork of all_combined_week6 by Harshit Gupta

Revision:
7:b3f876f605d9
Parent:
6:82153349cc9b
--- a/beacon.cpp	Tue Jul 15 10:04:38 2014 +0000
+++ b/beacon.cpp	Fri Sep 19 05:12:40 2014 +0000
@@ -31,7 +31,7 @@
     
 }*/
 
-extern ShortBeacy Shortbeacon;
+extern  ShortBeacy Shortbeacon;
 void writereg(uint8_t reg,uint8_t val)
 {
     cs_bar = 0;
@@ -49,7 +49,7 @@
     return val;
 }
         
-void beacon_func() {
+void FUNC_BEA() {
     
     //button.rise(&interrupt_func);         //interrupt enabled ( rising edge of pin 9)
     printf("\nBeacon function entered\n");
@@ -72,10 +72,10 @@
     //mask
     //uint8_t mask[] = {0x80, 0x40, 0x20,0x10,0x8,0x4,0x2,0x1};
         
-   /* for(int i = 0; i < 15 ; i++)
+    for(int i = 0; i < 15 ; i++)
     {
         chavan.printf("0x%X\n",(short_beacon[i]));    
-    }*/
+    }
     
     spi.format(8,0);                    
     spi.frequency(10000000);             //10MHz SCLK frequency(its max for rfm69hcw)