Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
e13d462f
Commit
e13d462f
authored
Dec 21, 2015
by
Paul Sokolovsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
esp8266/modesp: flash_read() takes 2 args (fix typo).
parent
a5aa03ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
esp8266/modesp.c
esp8266/modesp.c
+1
-1
No files found.
esp8266/modesp.c
View file @
e13d462f
...
@@ -582,7 +582,7 @@ STATIC mp_obj_t esp_flash_read(mp_obj_t offset_in, mp_obj_t len_in) {
...
@@ -582,7 +582,7 @@ STATIC mp_obj_t esp_flash_read(mp_obj_t offset_in, mp_obj_t len_in) {
m_del
(
byte
,
buf
,
len
);
m_del
(
byte
,
buf
,
len
);
nlr_raise
(
mp_obj_new_exception_arg1
(
&
mp_type_OSError
,
MP_OBJ_NEW_SMALL_INT
(
res
==
SPI_FLASH_RESULT_TIMEOUT
?
ETIMEDOUT
:
EIO
)));
nlr_raise
(
mp_obj_new_exception_arg1
(
&
mp_type_OSError
,
MP_OBJ_NEW_SMALL_INT
(
res
==
SPI_FLASH_RESULT_TIMEOUT
?
ETIMEDOUT
:
EIO
)));
}
}
STATIC
MP_DEFINE_CONST_FUN_OBJ_
3
(
esp_flash_read_obj
,
esp_flash_read
);
STATIC
MP_DEFINE_CONST_FUN_OBJ_
2
(
esp_flash_read_obj
,
esp_flash_read
);
STATIC
const
mp_map_elem_t
esp_module_globals_table
[]
=
{
STATIC
const
mp_map_elem_t
esp_module_globals_table
[]
=
{
{
MP_OBJ_NEW_QSTR
(
MP_QSTR___name__
),
MP_OBJ_NEW_QSTR
(
MP_QSTR_esp
)
},
{
MP_OBJ_NEW_QSTR
(
MP_QSTR___name__
),
MP_OBJ_NEW_QSTR
(
MP_QSTR_esp
)
},
...
...
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