diff options
author | Peter Hinch <peter@hinch.me.uk> | 2015-10-27 10:55:47 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-10-30 13:13:42 +0000 |
commit | 38196344691ad32b7f80bb44489c069ceaecb1ec (patch) | |
tree | c3af23089879096a7f87f1df1ba7ae08635accb9 /py/mpstate.c | |
parent | b83d0b35e9b86424b997ef1ccf50e2d2a9659fcf (diff) | |
download | micropython-38196344691ad32b7f80bb44489c069ceaecb1ec.tar.gz micropython-38196344691ad32b7f80bb44489c069ceaecb1ec.zip |
stmhal: Make RTC init skip startup if LTE is already enabled and ready.
This prevents the loss of RTC time when exiting from standby mode, since
the RTC is paused while it is being re-inited and this loses about 120ms.
Thanks to @chuckbook for the patch.
Diffstat (limited to 'py/mpstate.c')
0 files changed, 0 insertions, 0 deletions