Initialize USART1 as first peripheral

This commit is contained in:
2026-06-24 18:53:52 +02:00
parent 30410f9b9e
commit c9f735acd9
+1 -1
View File
@@ -127,12 +127,12 @@ int main(void)
/* USER CODE END SysInit */
/* Initialize all configured peripherals */
MX_USART1_UART_Init();
MX_GPIO_Init();
MX_DMA_Init();
MX_CAN1_Init();
MX_CAN2_Init();
MX_SDIO_SD_Init();
MX_USART1_UART_Init();
/* USER CODE BEGIN 2 */
DEBUG_PRINT("[L] Initializing CAN bus logger\r\n");
CAN_Logger_Init(&hcan1, &hcan2);