Skip to content
Snippets Groups Projects
Commit 814b1ae3 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

esp8266/modpybrtc: pyb_rtc_memory(): Fix copy-paste error.

parent 81407729
No related branches found
No related tags found
No related merge requests found
...@@ -146,7 +146,7 @@ STATIC mp_obj_t pyb_rtc_memory(mp_uint_t n_args, const mp_obj_t *args) { ...@@ -146,7 +146,7 @@ STATIC mp_obj_t pyb_rtc_memory(mp_uint_t n_args, const mp_obj_t *args) {
} }
magic = MEM_MAGIC; magic = MEM_MAGIC;
system_rtc_mem_write(MEM_USER_MAGIC_ADDR, &magic, sizeof(len)); system_rtc_mem_write(MEM_USER_MAGIC_ADDR, &magic, sizeof(magic));
len = bufinfo.len; len = bufinfo.len;
system_rtc_mem_write(MEM_USER_LEN_ADDR, &len, sizeof(len)); system_rtc_mem_write(MEM_USER_LEN_ADDR, &len, sizeof(len));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment