源码/核心板/Src/main.c
@@ -58,8 +58,10 @@ #ifdef WORK_MODE_TAG tag_sleep_configuraion(); #endif g_com_map[DEV_ID]=1; Dw1000_App_Init(); /* Loop forever initiating ranging exchanges. */ while(1) { #ifdef WORK_MODE_TAG @@ -68,6 +70,7 @@ g_start_send_flag = 0; Tag_App(); } // UART_CheckReceive(); RCC_APB1PeriphClockCmd(RCC_APB1Periph_PWR, ENABLE); PWR_EnterSTOPMode(PWR_Regulator_LowPower, PWR_STOPEntry_WFI); #else