Skip to content

Commit 346f5d4

Browse files
committed
stmhal/mpconfigport.h: Allow MICROPY_PY_THREAD to be overridden.
1 parent 05a0850 commit 346f5d4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

stmhal/mpconfigport.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@
109109
#define MICROPY_PY_SYS_PLATFORM "pyboard"
110110
#endif
111111
#define MICROPY_PY_UERRNO (1)
112+
#ifndef MICROPY_PY_THREAD
112113
#define MICROPY_PY_THREAD (0)
114+
#endif
113115

114116
// extended modules
115117
#define MICROPY_PY_UCTYPES (1)

0 commit comments

Comments
 (0)