diff options
author | Damien George <damien.p.george@gmail.com> | 2016-09-08 12:50:38 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-09-08 12:50:38 +1000 |
commit | f3b5480be7243684e31e4631e3da49c725fa7234 (patch) | |
tree | 35f6c9caffb4dc4633e3fe29bf580657f9769eb8 /docs | |
parent | dab0f316d26f4c77c94d9e51c35d5f63ed118d3c (diff) | |
download | micropython-f3b5480be7243684e31e4631e3da49c725fa7234.tar.gz micropython-f3b5480be7243684e31e4631e3da49c725fa7234.zip |
stmhal,cc3200,esp8266: Consistently use PWRON_RESET constant.
machine.POWER_ON is renamed to machine.PWRON_RESET to match other
reset-cause constants that all end in _RESET. The cc3200 port keeps a
legacy definition of POWER_ON for backwards compatibility.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/library/machine.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/library/machine.rst b/docs/library/machine.rst index 0f361a7cb7..46d8eea71f 100644 --- a/docs/library/machine.rst +++ b/docs/library/machine.rst @@ -125,7 +125,7 @@ Constants irq wake values -.. data:: machine.POWER_ON +.. data:: machine.PWRON_RESET .. data:: machine.HARD_RESET .. data:: machine.WDT_RESET .. data:: machine.DEEPSLEEP_RESET |