1234567891011121314151617181920212223242526272829 |
- #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();
- }
- }
|