diff options
author | Damien George <damien.p.george@gmail.com> | 2016-09-27 15:49:35 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-09-27 15:49:35 +1000 |
commit | 88ca7ff5657aa6328f394a099cf52a76707ae943 (patch) | |
tree | e9a150f69217e1bf01ff801d2fe3c0643cce05bd /py/objfun.c | |
parent | 7385b018edaca5c8cbbd1b2d8a6a10a63d93150d (diff) | |
download | micropython-88ca7ff5657aa6328f394a099cf52a76707ae943.tar.gz micropython-88ca7ff5657aa6328f394a099cf52a76707ae943.zip |
stmhal/modmachine: Fix clearing of reset-cause flags.
To reset the flags we should write to the single bit only, not the entire
register (otherwise all other settings in the register are cleared).
Fixes #2457.
Diffstat (limited to 'py/objfun.c')
0 files changed, 0 insertions, 0 deletions