wireless_uart
Dependencies: fsl_phy_mcr20a fsl_smac mbed-rtos mbed
Fork of mcr20_wireless_uart by
Diff: main.cpp
- Revision:
- 26:56ca40dcfae1
- Parent:
- 25:f40bc034cd8b
- Child:
- 27:1eb29717bfd9
--- a/main.cpp Tue Apr 28 16:37:24 2015 -0500 +++ b/main.cpp Tue Jun 23 11:49:16 2015 +0000 @@ -1,10 +1,12 @@ #include "mbed.h" #include "rtos.h" +#include "MemManager.h" #include "Phy.h" #include "SMAC_Interface.h" #include "SMAC_Config.h" + #define gMcps_Cnf_EVENT_c (1<<1) #define gMcps_Ind_EVENT_c (1<<2) #define gMlme_EdCnf_EVENT_c (1<<3) @@ -114,7 +116,7 @@ int main() { - InitMem(extmem, sizeof(extmem)); + MEM_Init(); Thread thread(led_thread); thread2 = new Thread(button_thread); eventsThread = new Thread(events_thread);