V2
yincheng.zhong
2024-12-11 b223c48f28413ac6008f0288433f7eb821a521d0
Src/main.c
@@ -667,7 +667,7 @@
//delay_ms(1000);
    Program_Init();
         if(HAL_UART_Receive_DMA(&huart1,m_EUART_DMA_RXBuf,EUART_RX_BUF_SIZE))
    if(HAL_UART_Receive_DMA(&huart1,m_EUART_DMA_RXBuf,EUART_RX_BUF_SIZE))
    {
     Error_Handler();
    }
@@ -677,7 +677,7 @@
    Delay_Ms(10);
        dwt_configcontinuousframemode(124800);
        dwt_writetxfctrl(13, 0);
        dwt_starttx(DWT_START_TX_IMMEDIATE);
        while(1)
        {      
        IdleTask();   
@@ -771,7 +771,7 @@
  /** Configure LSE Drive Capability
  */
  HAL_PWR_EnableBkUpAccess();
  __HAL_RCC_LSEDRIVE_CONFIG(RCC_LSEDRIVE_LOW);
  __HAL_RCC_LSEDRIVE_CONFIG(RCC_LSEDRIVE_HIGH);
  /** Initializes the RCC Oscillators according to the specified parameters
  * in the RCC_OscInitTypeDef structure.