{"action":"opened","issue":{"url":"https://api.github.com/repos/esp8266/Arduino/issues/668","labels_url":"https://api.github.com/repos/esp8266/Arduino/issues/668/labels{/name}","comments_url":"https://api.github.com/repos/esp8266/Arduino/issues/668/comments","events_url":"https://api.github.com/repos/esp8266/Arduino/issues/668/events","html_url":"https://github.com/esp8266/Arduino/issues/668","id":99653849,"number":668,"title":"Call \"delay ()\" will cause \"WDT reset\"  in the timer callback function","user":{"login":"chzhewl","id":4002518,"avatar_url":"https://avatars.githubusercontent.com/u/4002518?v=3","gravatar_id":"","url":"https://api.github.com/users/chzhewl","html_url":"https://github.com/chzhewl","followers_url":"https://api.github.com/users/chzhewl/followers","following_url":"https://api.github.com/users/chzhewl/following{/other_user}","gists_url":"https://api.github.com/users/chzhewl/gists{/gist_id}","starred_url":"https://api.github.com/users/chzhewl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chzhewl/subscriptions","organizations_url":"https://api.github.com/users/chzhewl/orgs","repos_url":"https://api.github.com/users/chzhewl/repos","events_url":"https://api.github.com/users/chzhewl/events{/privacy}","received_events_url":"https://api.github.com/users/chzhewl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-07T14:00:47Z","updated_at":"2015-08-07T14:00:47Z","closed_at":null,"body":"I Using the \"Ticker\" class to start a timer, call the \"delay (3000)\" in the callback function to cause the program to have no response, and after a while, \"WDT reset\".\r\nSample code:\r\n#include <Ticker.h>\r\nTicker test;\r\nvoid test_callback()\r\n{\r\n  Serial1.println(\"start\");\r\n  delay(3000);  //wdt reset\r\n  Serial1.println(\"end\"); //not print\r\n}\r\nvoid setup() {\r\n  Serial1.begin(115200);\r\n  test.once(3, test_callback);\r\n}\r\nvoid loop() {}"}}