Skip to content

Commit

Permalink
add static 'MP_PROPERTY_GETTER(fat_vfs_readonly_obj,
Browse files Browse the repository at this point in the history
    (mp_obj_t)&fat_vfs_getreadonly_obj);'
  • Loading branch information
diamant3 committed Oct 4, 2024
1 parent d5d4026 commit a19ddf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extmod/vfs_fat.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ static mp_obj_t vfs_fat_getreadonly(mp_obj_t self_in) {
}
static MP_DEFINE_CONST_FUN_OBJ_1(fat_vfs_getreadonly_obj, vfs_fat_getreadonly);

MP_PROPERTY_GETTER(fat_vfs_readonly_obj,
static MP_PROPERTY_GETTER(fat_vfs_readonly_obj,
(mp_obj_t)&fat_vfs_getreadonly_obj);

#if MICROPY_FATFS_USE_LABEL
Expand Down

0 comments on commit a19ddf5

Please sign in to comment.