extmod/modmachine: Add MICROPY_PY_MACHINE_SIGNAL configuration option.
Enabled by default. Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -1702,6 +1702,11 @@ typedef double mp_float_t;
|
||||
#define MICROPY_PY_MACHINE_PULSE (0)
|
||||
#endif
|
||||
|
||||
// Whether to provide the "machine.Signal" class
|
||||
#ifndef MICROPY_PY_MACHINE_SIGNAL
|
||||
#define MICROPY_PY_MACHINE_SIGNAL (MICROPY_PY_MACHINE)
|
||||
#endif
|
||||
|
||||
#ifndef MICROPY_PY_MACHINE_I2C
|
||||
#define MICROPY_PY_MACHINE_I2C (0)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user