diff options
author | Damien George <damien.p.george@gmail.com> | 2016-10-06 12:12:20 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-10-06 12:12:20 +1100 |
commit | 0bb3c7d3b7b8e670fd92c114b07fed1235c0d1ab (patch) | |
tree | 3854c23df8779769222654640461fd16a3de9431 /stmhal/mpconfigport.h | |
parent | c08f50bcf7740885863224509d56229d55ac1193 (diff) | |
download | micropython-0bb3c7d3b7b8e670fd92c114b07fed1235c0d1ab.tar.gz micropython-0bb3c7d3b7b8e670fd92c114b07fed1235c0d1ab.zip |
stmhal: Enable machine.time_pulse_us() function.
Diffstat (limited to 'stmhal/mpconfigport.h')
-rw-r--r-- | stmhal/mpconfigport.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/mpconfigport.h b/stmhal/mpconfigport.h index ef02cbf927..52fbcad681 100644 --- a/stmhal/mpconfigport.h +++ b/stmhal/mpconfigport.h @@ -95,6 +95,7 @@ #define MICROPY_PY_UHEAPQ (1) #define MICROPY_PY_UHASHLIB (1) #define MICROPY_PY_MACHINE (1) +#define MICROPY_PY_MACHINE_PULSE (1) #define MICROPY_PY_MACHINE_I2C (1) #define MICROPY_PY_MACHINE_SPI (1) #define MICROPY_PY_MACHINE_SPI_MIN_DELAY (0) |