Skip to content

Commit 172feea

Browse files
committed
pybricks: memoryview in extra_level2.
This class is useful for rfcomm communication, specifically the readinto function.
1 parent 1098584 commit 172feea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bricks/_common/mpconfigport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
#define MICROPY_MULTIPLE_INHERITANCE (0)
7272
#define MICROPY_PY_ARRAY (0)
7373
#define MICROPY_PY_BUILTINS_BYTEARRAY (PYBRICKS_OPT_EXTRA_LEVEL1)
74-
#define MICROPY_PY_BUILTINS_MEMORYVIEW (0)
74+
#define MICROPY_PY_BUILTINS_MEMORYVIEW (PYBRICKS_OPT_EXTRA_LEVEL2)
7575
#define MICROPY_PY_BUILTINS_ENUMERATE (PYBRICKS_OPT_EXTRA_LEVEL1)
7676
#define MICROPY_PY_BUILTINS_FILTER (0)
7777
#define MICROPY_PY_BUILTINS_FROZENSET (0)

0 commit comments

Comments
 (0)