diff options
author | Damien George <damien@micropython.org> | 2021-09-02 12:39:50 +1000 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2021-09-02 13:11:23 +1000 |
commit | d41f6dde568df53a0f66a01a3c362e1c1e35ef14 (patch) | |
tree | d5ba1d7dff55ec64e171eb5c6b836967b5ee63d3 /py/mpconfig.h | |
parent | afe0634c989d81f0c887308a7bc152061cb5d319 (diff) |
extmod/modonewire: Make _onewire module configurable via macro option.
Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r-- | py/mpconfig.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h index 288b10537..1b41b6bd0 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -1517,6 +1517,11 @@ typedef double mp_float_t; #define MICROPY_PY_BTREE (0) #endif +// Whether to provide the low-level "_onewire" module +#ifndef MICROPY_PY_ONEWIRE +#define MICROPY_PY_ONEWIRE (0) +#endif + /*****************************************************************************/ /* Hooks for a port to add builtins */ |