Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
micropython
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
card10
micropython
Commits
196406e1
Commit
196406e1
authored
8 years ago
by
Damien George
Browse files
Options
Downloads
Patches
Plain Diff
extmod/vfs_fat: Remove unused fatfs_builtin_open function.
parent
b697c890
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
extmod/vfs_fat.h
+0
-1
0 additions, 1 deletion
extmod/vfs_fat.h
extmod/vfs_fat_file.c
+0
-8
0 additions, 8 deletions
extmod/vfs_fat_file.c
with
0 additions
and
9 deletions
extmod/vfs_fat.h
+
0
−
1
View file @
196406e1
...
...
@@ -56,7 +56,6 @@ extern const byte fresult_to_errno_table[20];
extern
const
mp_obj_type_t
mp_fat_vfs_type
;
mp_import_stat_t
fat_vfs_import_stat
(
struct
_fs_user_mount_t
*
vfs
,
const
char
*
path
);
mp_obj_t
fatfs_builtin_open
(
mp_uint_t
n_args
,
const
mp_obj_t
*
args
,
mp_map_t
*
kwargs
);
mp_obj_t
fatfs_builtin_open_self
(
mp_obj_t
self_in
,
mp_obj_t
path
,
mp_obj_t
mode
);
MP_DECLARE_CONST_FUN_OBJ_KW
(
mp_builtin_open_obj
);
...
...
This diff is collapsed.
Click to expand it.
extmod/vfs_fat_file.c
+
0
−
8
View file @
196406e1
...
...
@@ -289,14 +289,6 @@ const mp_obj_type_t mp_type_textio = {
.
locals_dict
=
(
mp_obj_dict_t
*
)
&
rawfile_locals_dict
,
};
// Factory function for I/O stream classes
mp_obj_t
fatfs_builtin_open
(
mp_uint_t
n_args
,
const
mp_obj_t
*
args
,
mp_map_t
*
kwargs
)
{
// TODO: analyze buffering args and instantiate appropriate type
mp_arg_val_t
arg_vals
[
FILE_OPEN_NUM_ARGS
];
mp_arg_parse_all
(
n_args
,
args
,
kwargs
,
FILE_OPEN_NUM_ARGS
,
file_open_args
,
arg_vals
);
return
file_open
(
NULL
,
&
mp_type_textio
,
arg_vals
);
}
// Factory function for I/O stream classes
mp_obj_t
fatfs_builtin_open_self
(
mp_obj_t
self_in
,
mp_obj_t
path
,
mp_obj_t
mode
)
{
// TODO: analyze buffering args and instantiate appropriate type
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment