{"action":"opened","issue":{"url":"https://api.github.com/repos/bbustin/climaduino/issues/3","labels_url":"https://api.github.com/repos/bbustin/climaduino/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/bbustin/climaduino/issues/3/comments","events_url":"https://api.github.com/repos/bbustin/climaduino/issues/3/events","html_url":"https://github.com/bbustin/climaduino/issues/3","id":118716413,"number":3,"title":"Strange switch in _shortCycleProtection","user":{"login":"alexisfradel","id":8577839,"avatar_url":"https://avatars.githubusercontent.com/u/8577839?v=3","gravatar_id":"","url":"https://api.github.com/users/alexisfradel","html_url":"https://github.com/alexisfradel","followers_url":"https://api.github.com/users/alexisfradel/followers","following_url":"https://api.github.com/users/alexisfradel/following{/other_user}","gists_url":"https://api.github.com/users/alexisfradel/gists{/gist_id}","starred_url":"https://api.github.com/users/alexisfradel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexisfradel/subscriptions","organizations_url":"https://api.github.com/users/alexisfradel/orgs","repos_url":"https://api.github.com/users/alexisfradel/repos","events_url":"https://api.github.com/users/alexisfradel/events{/privacy}","received_events_url":"https://api.github.com/users/alexisfradel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-24T22:22:26Z","updated_at":"2015-11-24T22:22:26Z","closed_at":null,"body":"Hello,\r\n\r\nI've just checked your code and it looks really interesting.\r\nUnfortunately I'm new to Arduino and so I would like to check if I've understood correctly the code.\r\n\r\nIn the function _shortCycleProtection, why do you use a switch statement since it seems that you do exactly the same thing in both scenarii?\r\n\r\nThanks for the clarification.\r\nAlexis"}}