summaryrefslogtreecommitdiffstatshomepage
path: root/stm/sdcard.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/sdcard.c')
-rw-r--r--stm/sdcard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm/sdcard.c b/stm/sdcard.c
index c98bab4d91..0b5fdb2c87 100644
--- a/stm/sdcard.c
+++ b/stm/sdcard.c
@@ -202,7 +202,7 @@ static const mp_method_t sdcard_methods[] = {
};
static const mp_obj_type_t sdcard_type = {
- { &mp_const_type },
+ { &mp_type_type },
.name = MP_QSTR_SDcard,
.methods = sdcard_methods,
};