{"action":"created","issue":{"url":"https://api.github.com/repos/me-no-dev/RasPiArduino/issues/4","labels_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/issues/4/comments","events_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/issues/4/events","html_url":"https://github.com/me-no-dev/RasPiArduino/issues/4","id":122992732,"number":4,"title":"getBoardRev() returns different answers on subsequent calls","user":{"login":"nkolban","id":3421732,"avatar_url":"https://avatars.githubusercontent.com/u/3421732?v=3","gravatar_id":"","url":"https://api.github.com/users/nkolban","html_url":"https://github.com/nkolban","followers_url":"https://api.github.com/users/nkolban/followers","following_url":"https://api.github.com/users/nkolban/following{/other_user}","gists_url":"https://api.github.com/users/nkolban/gists{/gist_id}","starred_url":"https://api.github.com/users/nkolban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkolban/subscriptions","organizations_url":"https://api.github.com/users/nkolban/orgs","repos_url":"https://api.github.com/users/nkolban/repos","events_url":"https://api.github.com/users/nkolban/events{/privacy}","received_events_url":"https://api.github.com/users/nkolban/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-18T17:31:15Z","updated_at":"2015-12-18T17:36:49Z","closed_at":null,"body":"Consider this logic ...\r\n\r\n```\r\n  int x = getBoardRev();\r\n  int y = getBoardRev();\r\n  printf(\"x,y = %x, %x\\n\", x,y);\r\n```\r\nIt should print the same value for both x and y.  However, what it really returns is:\r\n\r\n```\r\nx,y = a21041, 0\r\n```"},"comment":{"url":"https://api.github.com/repos/me-no-dev/RasPiArduino/issues/comments/165848958","html_url":"https://github.com/me-no-dev/RasPiArduino/issues/4#issuecomment-165848958","issue_url":"https://api.github.com/repos/me-no-dev/RasPiArduino/issues/4","id":165848958,"user":{"login":"nkolban","id":3421732,"avatar_url":"https://avatars.githubusercontent.com/u/3421732?v=3","gravatar_id":"","url":"https://api.github.com/users/nkolban","html_url":"https://github.com/nkolban","followers_url":"https://api.github.com/users/nkolban/followers","following_url":"https://api.github.com/users/nkolban/following{/other_user}","gists_url":"https://api.github.com/users/nkolban/gists{/gist_id}","starred_url":"https://api.github.com/users/nkolban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nkolban/subscriptions","organizations_url":"https://api.github.com/users/nkolban/orgs","repos_url":"https://api.github.com/users/nkolban/repos","events_url":"https://api.github.com/users/nkolban/events{/privacy}","received_events_url":"https://api.github.com/users/nkolban/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T17:36:49Z","updated_at":"2015-12-18T17:36:49Z","body":"It was found that a variable called `char window[5]` was being tested but was being assumed to be nulled at start.  An addition of a memset to clear it cured up the problem."}}