summaryrefslogtreecommitdiffstatshomepage
path: root/tools/codeformat.py
diff options
context:
space:
mode:
authorThorsten von Eicken <tve@voneicken.com>2020-05-02 01:36:53 -0700
committerDamien George <damien.p.george@gmail.com>2020-05-29 22:27:53 +1000
commit50a7ba234850183693d2b236e48ec0b76399123d (patch)
tree08a8a9e1e08fd3e6faa9f6cb18a8507c4c844fbf /tools/codeformat.py
parent1662a0b06f2ad58aa4a632a88d0b3836c08bded2 (diff)
downloadmicropython-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