diff options
author | Thorsten von Eicken <tve@voneicken.com> | 2020-05-02 01:36:53 -0700 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-05-29 22:27:53 +1000 |
commit | 50a7ba234850183693d2b236e48ec0b76399123d (patch) | |
tree | 08a8a9e1e08fd3e6faa9f6cb18a8507c4c844fbf /tools/codeformat.py | |
parent | 1662a0b06f2ad58aa4a632a88d0b3836c08bded2 (diff) | |
download | micropython-50a7ba234850183693d2b236e48ec0b76399123d.tar.gz micropython-50a7ba234850183693d2b236e48ec0b76399123d.zip |
esp32/modmachine: Fix machine.reset_cause to use IDF's esp_reset_reason.
The code previously called rtc_get_reset_reason which is a "raw" reset
cause. The ESP-IDF massages that for the proper reset cause available from
esp_reset_reason.
Fixes issue #5134.
Diffstat (limited to 'tools/codeformat.py')
0 files changed, 0 insertions, 0 deletions