diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-02-06 21:02:34 +0200 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-02-07 01:25:28 +0200 |
commit | 350ab0f570a2cc570ceb9facb38cbd9ce68057f3 (patch) | |
tree | 79fa0793d7c074c65e4c4e48226113788ca31638 /stmhal/file.h | |
parent | 103fbaaf27621df4a7389098fc3ac46c5d6513f3 (diff) |
stmhal/file: Recast as "FatFs file" class, to support other VFS types.
Move definition of mp_builtin_open_obj to a separate module, then file.c
becomes more or less compartmentalized FatFs file class, which can be used
together with file class implementations for other (V)FSes.
Diffstat (limited to 'stmhal/file.h')
-rw-r--r-- | stmhal/file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/file.h b/stmhal/file.h index f21ec6dab..e62fd826f 100644 --- a/stmhal/file.h +++ b/stmhal/file.h @@ -26,4 +26,5 @@ extern const byte fresult_to_errno_table[20]; +mp_obj_t fatfs_builtin_open(mp_uint_t n_args, const mp_obj_t *args, mp_map_t *kwargs); MP_DECLARE_CONST_FUN_OBJ(mp_builtin_open_obj); |