#include "main.h" #include "bsp_time.h" #include "hal_ble_client.h" #include "hal_ble_host.h" //#include "app_power.h" //#include "ble_comm.h" extern void PRE_Init(void); extern void USR_Init(void); extern void USR_Process(void); int main(void) { PRE_Init(); //用户初始化 USR_Init(); //用户初始化 // PWR_Init(); // SEGGER_RTT_printf(0,"PWR_Init\n"); // slave_init(BLE_Client_Push); // SEGGER_RTT_printf(0,"slave_init\n"); //// host_init(BLE_Host_Push); while (1) { USR_Process(); } }