diff options
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r-- | py/mpconfig.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 5e717ad0f6..08dd497c5f 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -819,6 +819,12 @@ typedef double mp_float_t; #define MICROPY_PORT_ROOT_POINTERS #endif +#if MICROPY_PY_OS_DUPTERM +#define MP_ROOT_PTR_DUPTERM_OBJ mp_obj_t term_obj +#else +#define MP_ROOT_PTR_DUPTERM_OBJ +#endif + /*****************************************************************************/ /* Miscellaneous settings */ |