Enable the urandom module in mpconfigport.h, not in uPy

Otherwise it breaks when upgrading uPy. Faulty commit 4011290.
This commit is contained in:
Romain Goyet
2018-04-13 09:07:29 +02:00
committed by EmilieNumworks
parent 774cd3545b
commit 21b5e898c3

View File

@@ -55,6 +55,8 @@
#define MICROPY_CPYTHON_COMPAT (0)
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_MPZ)
#define MICROPY_FLOAT_IMPL (MICROPY_FLOAT_IMPL_DOUBLE)
#define MICROPY_PY_URANDOM (1)
#define MICROPY_PY_URANDOM_EXTRA_FUNCS (1)
#define MICROPY_VM_HOOK_LOOP micropython_port_should_interrupt();