chen
2024-12-11 8e0cbe0992619a36bf34a660cfdd75f083f19730
keil/include/main/main.c
@@ -572,8 +572,8 @@
//      battery_monitor_close();
    adc_open(&usr_adc_cfg);
      
//    IIC2_Init();
//    Accelerometer_Init();
    IIC2_Init();
    Accelerometer_Init();
      PCA9555_init();
    //IO_control_init();
//    io_pin_mux_set(SCL_PIN, IO_FUNC0);//测试测距波形
@@ -585,7 +585,6 @@
   
         Program_Init();
    //uart_open(UART_ID1, &test_uart_cfg);
   // uart1_change_from_gps_to_debug();   
    //Uart1GpsRecDebugSend();   
    uart_receive(UART_ID1,m_EUART_DMA_RXBuf,EUART_RX_BUF_SIZE,uart_receive_callback);