Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
2321ee97
Commit
2321ee97
authored
Dec 26, 2014
by
funshine
Browse files
fix file api issue when compile using gcc toolchain
parent
150165a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/spiffs/spiffs_nucleus.h
View file @
2321ee97
...
@@ -400,6 +400,8 @@ typedef struct __attribute(( packed )) {
...
@@ -400,6 +400,8 @@ typedef struct __attribute(( packed )) {
u32_t
size
;
u32_t
size
;
// type of object
// type of object
spiffs_obj_type
type
;
spiffs_obj_type
type
;
// alignment2
u8_t
_align2
[
4
-
(
sizeof
(
spiffs_obj_type
)
&
3
)
==
0
?
4
:
(
sizeof
(
spiffs_obj_type
)
&
3
)];
// name of object
// name of object
u8_t
name
[
SPIFFS_OBJ_NAME_LEN
];
u8_t
name
[
SPIFFS_OBJ_NAME_LEN
];
}
spiffs_page_object_ix_header
;
}
spiffs_page_object_ix_header
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment