chen
2025-03-13 f317cd42f19ea851e851600216750ababf89d6c0
keil/include/main/main.c
@@ -204,6 +204,7 @@
}
   
}
extern void uwb_tag_init(void);
void boot_deinit(void)
{
   //将boot中串口返回普通gpio
@@ -264,7 +265,8 @@
    // Enable sleep timer
    sleep_timer_open(true, SLEEP_TIMER_MODE_RELOAD, sleep_timer_callback);
      //sleep_timer_start(__MS_TO_32K_CNT(g_com_map[COM_INTERVAL]));//测试
      sleep_timer_start(__MS_TO_32K_CNT(500));//测试
      sleep_timer_start(__MS_TO_32K_CNT(1000));//测试
      uwb_tag_init();
      //board_5V_input_init(voltage_input_handler);//有修改3.3V会一直高电平导致无法进入休眠
      #ifdef BOXING 
            io_pin_mux_set(IO_PIN_5, IO_FUNC0);//波形测试