diff options
| author | Paul Sokolovsky | 2015-11-25 00:43:11 +0200 |
|---|---|---|
| committer | Paul Sokolovsky | 2015-11-25 13:19:36 +0200 |
| commit | f0fbab7ca790f4f316bc2a9a44dc3a83f442664d (patch) | |
| tree | 8a27fde06cfc71c69dc9105581eb7a2383e8cbc3 /extmod/fsusermount.c | |
| parent | 3a1bbcc2ef46bbab90ef3cde88dfcd8810e71d74 (diff) | |
extmod/fsusermount: Make configurable with MICROPY_FSUSERMOUNT.
Diffstat (limited to 'extmod/fsusermount.c')
| -rw-r--r-- | extmod/fsusermount.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/extmod/fsusermount.c b/extmod/fsusermount.c index 2fc24be1b..8153a551c 100644 --- a/extmod/fsusermount.c +++ b/extmod/fsusermount.c @@ -24,6 +24,9 @@ * THE SOFTWARE. */ +#include "py/mpconfig.h" +#if MICROPY_FSUSERMOUNT + #include "py/nlr.h" #include "py/runtime.h" #include "lib/fatfs/ff.h" @@ -110,3 +113,5 @@ STATIC mp_obj_t pyb_mount(mp_uint_t n_args, const mp_obj_t *pos_args, mp_map_t * return mp_const_none; } MP_DEFINE_CONST_FUN_OBJ_KW(pyb_mount_obj, 2, pyb_mount); + +#endif // MICROPY_FSUSERMOUNT |
