File tree 2 files changed +5
-1
lines changed 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1449,6 +1449,10 @@ typedef double mp_float_t;
1449
1449
#define MICROPY_WRAP_MP_KEYBOARD_INTERRUPT (f ) f
1450
1450
#endif
1451
1451
1452
+ #ifndef MICROPY_WRAP_MP_SCHED_SCHEDULE
1453
+ #define MICROPY_WRAP_MP_SCHED_SCHEDULE (f ) f
1454
+ #endif
1455
+
1452
1456
/*****************************************************************************/
1453
1457
/* Miscellaneous settings */
1454
1458
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ void mp_sched_unlock(void) {
120
120
MICROPY_END_ATOMIC_SECTION (atomic_state );
121
121
}
122
122
123
- bool mp_sched_schedule (mp_obj_t function , mp_obj_t arg ) {
123
+ bool MICROPY_WRAP_MP_SCHED_SCHEDULE ( mp_sched_schedule ) (mp_obj_t function , mp_obj_t arg ) {
124
124
mp_uint_t atomic_state = MICROPY_BEGIN_ATOMIC_SECTION ();
125
125
bool ret ;
126
126
if (!mp_sched_full ()) {
You can’t perform that action at this time.
0 commit comments