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 48ffc50 commit da36d6dCopy full SHA for da36d6d
ports/esp32/machine_sdcard.c
@@ -39,6 +39,7 @@
39
#include "driver/sdspi_host.h"
40
#include "sdmmc_cmd.h"
41
#include "esp_log.h"
42
+
43
#define DEBUG 0
44
#if DEBUG
45
#define DEBUG_printf(...) ESP_LOGI("modsdcard", __VA_ARGS__)
@@ -419,7 +420,7 @@ static mp_obj_t sd_deinit(mp_obj_t self_in) {
419
420
sdcard_card_obj_t *self = self_in;
421
422
DEBUG_printf("De-init host\n");
-
423
424
if (self->flags & SDCARD_CARD_FLAGS_HOST_INIT_DONE) {
425
if (self->host.flags & SDMMC_HOST_FLAG_DEINIT_ARG) {
426
self->host.deinit_p(self->host.slot);
0 commit comments