Skip to content

Commit 2ee9e1a

Browse files
committed
extmod/modbtree: Make FILEVTABLE const to put it in ROM.
1 parent 32eae53 commit 2ee9e1a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extmod/modbtree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ STATIC const mp_obj_type_t btree_type = {
320320
.locals_dict = (void*)&btree_locals_dict,
321321
};
322322

323-
STATIC FILEVTABLE btree_stream_fvtable = {
323+
STATIC const FILEVTABLE btree_stream_fvtable = {
324324
mp_stream_posix_read,
325325
mp_stream_posix_write,
326326
mp_stream_posix_lseek,

0 commit comments

Comments
 (0)