document a bug

This commit is contained in:
Peter D. Gray 2023-01-19 14:01:42 -05:00 committed by scgbckbone
parent c6502101d4
commit bda639a23b

View File

@ -200,9 +200,11 @@ class CardSlot:
cls.last_change = utime.ticks_ms()
#XXX conflict w/ PB13 vs. PD13 ... same irq number
if num_sd_slots == 2:
#XXX SD_DETECT w/ PB13 vs. PD13 ... same irq number
cls.irq = None
cls.mux = Pin('SD_MUX')
cls.mux(0) # top slot = A
else:
cls.irq = ExtInt(Pin('SD_DETECT'), ExtInt.IRQ_RISING_FALLING, Pin.PULL_UP, card_change)