This commit is contained in:
Peter D. Gray 2024-04-26 09:29:52 -04:00
parent 767651e6b6
commit ecca4c7e6e
No known key found for this signature in database
GPG Key ID: A2DCD558C2BE5D7C

View File

@ -239,6 +239,7 @@ class CardSlot:
@classmethod
def both_inserted(cls):
# Predicate: Is there a card in both slots? If only one slot exists, return None
if cls.mux:
return (cls.sd_detect() == 0) and (cls.sd_detect2() == 0)
# return None (implicit)