UART does not work QQ

This commit is contained in:
yichin
2020-04-07 11:18:20 +08:00
parent 74132849bf
commit 143fa41755
2 changed files with 4 additions and 4 deletions
@@ -7,8 +7,8 @@
#define MEM_BOARD_CENTRAL
#include "mem_central_pin.h"
#include "uart_printf.h"
#include <xdc/runtime/System.h>
//#include "uart_printf.h"
//#include <xdc/runtime/System.h>
static void MemBoard_init(void){
mem_pin_open();
@@ -571,7 +571,7 @@ static void SimpleBLECentral_taskFxn(UArg a0, UArg a1)
SimpleBLECentral_init();
MemBoard_init();
System_printf("Hello, universe!\r\n");
// System_printf("Hello, universe!\r\n");
// Application main loop
for (;;)
@@ -756,7 +756,7 @@ static void SimpleBLECentral_processRoleEvent(gapCentralRoleEvent_t *pEvent)
case GAP_DEVICE_INIT_DONE_EVENT:
{
maxPduSize = pEvent->initDone.dataPktLen;
SetMemOutputPIN(Board_GLED, 1);
SetMemOutputPIN(Board_GLED, Board_LED_ON);
Display_print0(dispHandle, ROW_ZERO, 0, "BLE Central");
Display_print0(dispHandle, ROW_ONE, 0, Util_convertBdAddr2Str(pEvent->initDone.devAddr));
Display_print0(dispHandle, ROW_TWO, 0, "Initialized");