Connectivity
Dependencies: fsl_phy_mcr20a fsl_smac mbed-rtos mbed
Fork of mcr20_connectivity_test_FRDMk64f by
Diff: Source/Connectivity_TestApp.cpp
- Revision:
- 5:ad78d222bbcd
- Parent:
- 4:fb5e683a878c
- Child:
- 6:85e288fb2556
diff -r fb5e683a878c -r ad78d222bbcd Source/Connectivity_TestApp.cpp --- a/Source/Connectivity_TestApp.cpp Fri Jul 31 07:11:51 2015 +0000 +++ b/Source/Connectivity_TestApp.cpp Fri Jul 31 12:53:19 2015 +0000 @@ -387,7 +387,7 @@ Phy_Init(); InitApp(); - + /*Prints the Welcome screens in the terminal*/ PrintMenu(cu8FreescaleLogo, mAppSer); @@ -417,6 +417,7 @@ { Thread::signal_wait(gEventsAny_c); HandleEvents(gTaskEventFlags); + gTaskEventFlags = 0; SerialUIStateMachine(); } } @@ -520,7 +521,7 @@ edCalState= gEdCalStateInit_c; } #endif - else if('!' == gu8UartData) + else if('p' == gu8UartData) { ResetMCU(); } @@ -868,7 +869,6 @@ uart.printf( "-"); uart.printf("%d dBm\r\n ",(uint32_t)u8TempEnergyValue); cTxRxState = gCTxRxStateRunnigEdTest_c; - //SelfNotificationEvent(); break; case gCTxRxStateRunnigCcaTest_c: if(timePassed && gCCaGotResult) @@ -2550,7 +2550,7 @@ uartTask = new Thread(uart_task); while(1) { - + } return 0; } \ No newline at end of file