summaryrefslogtreecommitdiffstatshomepage
path: root/py/stackctrl.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-07-03 15:31:10 +1000
committerDamien George <damien.p.george@gmail.com>2018-07-03 15:31:10 +1000
commitbccf9d3dcfd000b81b89b9ef862f9bc6104df99d (patch)
tree4edd4d43fbbf0cdc105403297b3e6a82264596d5 /py/stackctrl.c
parentb6e5f82ba524b953d5b93bc9713bb0a4ef55489b (diff)
downloadmicropython-bccf9d3dcfd000b81b89b9ef862f9bc6104df99d.tar.gz
micropython-bccf9d3dcfd000b81b89b9ef862f9bc6104df99d.zip
esp8266: Let machine.WDT trigger the software WDT if obj is not fed.
This patch allows scripts to have more control over the software WDT. If an instance of machine.WDT is created then the underlying OS is prevented from feeding the software WDT, and it is up to the user script to feed it instead via WDT.feed(). The timeout for this WDT is currently fixed and will be between 1.6 and 3.2 seconds.
Diffstat (limited to 'py/stackctrl.c')
0 files changed, 0 insertions, 0 deletions