We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fecc90 commit 2ae4d81Copy full SHA for 2ae4d81
adafruit_pycamera/__init__.py
@@ -585,7 +585,9 @@ def mount_sd_card(self):
585
self._card_power.value = True
586
card_cs = DigitalInOut(board.CARD_CS)
587
card_cs.switch_to_output(False)
588
- # deinit display and SPI
+ # deinit display and SPI bus because we need to drive all SD pins LOW
589
+ # to ensure nothing, not even an I/O pin, could possibly power the SD
590
+ # card
591
self.deinit_display()
592
self._spi.deinit()
593
sckpin = DigitalInOut(board.SCK)
0 commit comments