mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 20:20:14 +01:00
py/mpconfig: Make configuration of dupterm object reusable.
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user