We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bc50c4 commit 2cfbe5bCopy full SHA for 2cfbe5b
ports/esp32/modmachine.c
@@ -232,7 +232,9 @@ STATIC mp_obj_t machine_unique_id(void) {
232
STATIC MP_DEFINE_CONST_FUN_OBJ_0(machine_unique_id_obj, machine_unique_id);
233
234
STATIC mp_obj_t machine_idle(void) {
235
+ MP_THREAD_GIL_EXIT();
236
taskYIELD();
237
+ MP_THREAD_GIL_ENTER();
238
return mp_const_none;
239
}
240
STATIC MP_DEFINE_CONST_FUN_OBJ_0(machine_idle_obj, machine_idle);
0 commit comments