This commit is contained in:
Peter D. Gray 2023-06-15 14:21:54 -04:00 committed by scgbckbone
parent c192c26447
commit cc6dfc8068

View File

@ -124,6 +124,7 @@ sdcard_probe(uint32_t *num_blocks)
sdcard_is_inserted(void)
{
#ifdef FOR_Q1_ONLY
// XXX check pin; also force mux to A
return !!HAL_GPIO_ReadPin(GPIOD, GPIO_PIN_3); // PD3
#else
return !!HAL_GPIO_ReadPin(GPIOC, GPIO_PIN_13); // PC13