mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-01 03:47:23 +03:00
Remove implementations of WDT-related functions
which were not correct since 0.9.3 anyway
This commit is contained in:
@ -153,9 +153,7 @@ APIs related to deep sleep and watchdog timer are available in the ```ESP``` obj
|
||||
|
||||
```ESP.deepSleep(microseconds, mode)``` will put the chip into deep sleep. ```mode``` is one of ```WAKE_RF_DEFAULT```, ```WAKE_RFCAL```, ```WAKE_NO_RFCAL```, ```WAKE_RF_DISABLED```. (GPIO16 needs to be tied to RST to wake from deepSleep.)
|
||||
|
||||
```ESP.wdtEnable()```, ```ESP.wdtDisable()```, and ```ESP.wdtFeed()``` provide some control over the watchdog timer.
|
||||
|
||||
```ESP.reset()``` resets the CPU.
|
||||
```ESP.restart()``` restarts the CPU.
|
||||
|
||||
```ESP.getFreeHeap()``` returns the free heap size.
|
||||
|
||||
|
Reference in New Issue
Block a user