wireless_uart

Dependencies:   fsl_phy_mcr20a fsl_smac mbed-rtos mbed

Fork of mcr20_wireless_uart by samuel belete

Revision:
25:f40bc034cd8b
Parent:
24:088286081619
Child:
26:56ca40dcfae1
--- a/main.cpp	Sat Apr 25 01:10:45 2015 -0500
+++ b/main.cpp	Tue Apr 28 16:37:24 2015 -0500
@@ -18,8 +18,8 @@
 #endif
 uint32_t gTaskEventFlags;
 static uint8_t gau8TxDataBuffer[gMaxSmacSDULength_c  + sizeof(rxPacket_t)];  
-static txPacket_t *gAppTxPacket;
-static rxPacket_t *gAppRxPacket;
+txPacket_t *gAppTxPacket;
+rxPacket_t *gAppRxPacket;
 static txContextConfig_t txConfigContext;
 
 void InitProject(void);
@@ -114,6 +114,7 @@
 
 int main()
 {
+    InitMem(extmem, sizeof(extmem));
     Thread thread(led_thread);
     thread2 = new Thread(button_thread);
     eventsThread = new Thread(events_thread);