Implement serial debug logging #22

Manually merged
eeeck merged 13 commits from dev_debug into dev_serial-send 2026-06-17 20:52:29 +02:00
Showing only changes of commit 60849ebb78 - Show all commits
+9 -9
View File
@@ -350,16 +350,16 @@ static void MX_SDIO_SD_Init(void)
hsd.Init.BusWide = SDIO_BUS_WIDE_1B; hsd.Init.BusWide = SDIO_BUS_WIDE_1B;
hsd.Init.HardwareFlowControl = SDIO_HARDWARE_FLOW_CONTROL_DISABLE; hsd.Init.HardwareFlowControl = SDIO_HARDWARE_FLOW_CONTROL_DISABLE;
hsd.Init.ClockDiv = 0; hsd.Init.ClockDiv = 0;
if (HAL_SD_Init(&hsd) != HAL_OK) //if (HAL_SD_Init(&hsd) != HAL_OK)
{ //{
Error_Handler(); // Error_Handler();
} //}
if (HAL_SD_ConfigWideBusOperation(&hsd, SDIO_BUS_WIDE_4B) != HAL_OK) //if (HAL_SD_ConfigWideBusOperation(&hsd, SDIO_BUS_WIDE_4B) != HAL_OK)
{ //{
Error_Handler(); // Error_Handler();
} //}
/* USER CODE BEGIN SDIO_Init 2 */ /* USER CODE BEGIN SDIO_Init 2 */
DEBUG_PRINT("SDIO initialized!\r\n"); //DEBUG_PRINT("SDIO initialized!\r\n");
/* USER CODE END SDIO_Init 2 */ /* USER CODE END SDIO_Init 2 */
} }