{"action":"closed","number":11,"pull_request":{"url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/pulls/11","id":52767875,"html_url":"https://github.com/adafruit/Adafruit_BNO055/pull/11","diff_url":"https://github.com/adafruit/Adafruit_BNO055/pull/11.diff","patch_url":"https://github.com/adafruit/Adafruit_BNO055/pull/11.patch","issue_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/issues/11","number":11,"state":"closed","locked":false,"title":"Overhaul restore_offsets","user":{"login":"Wetmelon","id":3612694,"avatar_url":"https://avatars.githubusercontent.com/u/3612694?v=3","gravatar_id":"","url":"https://api.github.com/users/Wetmelon","html_url":"https://github.com/Wetmelon","followers_url":"https://api.github.com/users/Wetmelon/followers","following_url":"https://api.github.com/users/Wetmelon/following{/other_user}","gists_url":"https://api.github.com/users/Wetmelon/gists{/gist_id}","starred_url":"https://api.github.com/users/Wetmelon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wetmelon/subscriptions","organizations_url":"https://api.github.com/users/Wetmelon/orgs","repos_url":"https://api.github.com/users/Wetmelon/repos","events_url":"https://api.github.com/users/Wetmelon/events{/privacy}","received_events_url":"https://api.github.com/users/Wetmelon/received_events","type":"User","site_admin":false},"body":"This PR overhauls restore_offsets and modifies some internal library code to make it much less likely for a user to get caught waiting in an infinite loop.\r\n\r\nThe internal code uses actual system status reads instead of guesstimating the status based on the \"fully calibrated\" metric.  Also removes an extraneous long (200ms) delay that shouldn't be internal to a library.","created_at":"2015-12-05T23:28:24Z","updated_at":"2016-09-05T20:20:27Z","closed_at":"2016-09-05T20:20:27Z","merged_at":null,"merge_commit_sha":"eb4fb88be8b46a2cd1ee51cfc332bc1818beaf66","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/pulls/11/commits","review_comments_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/pulls/11/comments","review_comment_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/issues/11/comments","statuses_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/statuses/f5136614bc969b9cbd94985d5556367be164cf0b","head":{"label":"Wetmelon:master","ref":"master","sha":"f5136614bc969b9cbd94985d5556367be164cf0b","user":{"login":"Wetmelon","id":3612694,"avatar_url":"https://avatars.githubusercontent.com/u/3612694?v=3","gravatar_id":"","url":"https://api.github.com/users/Wetmelon","html_url":"https://github.com/Wetmelon","followers_url":"https://api.github.com/users/Wetmelon/followers","following_url":"https://api.github.com/users/Wetmelon/following{/other_user}","gists_url":"https://api.github.com/users/Wetmelon/gists{/gist_id}","starred_url":"https://api.github.com/users/Wetmelon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wetmelon/subscriptions","organizations_url":"https://api.github.com/users/Wetmelon/orgs","repos_url":"https://api.github.com/users/Wetmelon/repos","events_url":"https://api.github.com/users/Wetmelon/events{/privacy}","received_events_url":"https://api.github.com/users/Wetmelon/received_events","type":"User","site_admin":false},"repo":{"id":46148616,"name":"Adafruit_BNO055","full_name":"Wetmelon/Adafruit_BNO055","owner":{"login":"Wetmelon","id":3612694,"avatar_url":"https://avatars.githubusercontent.com/u/3612694?v=3","gravatar_id":"","url":"https://api.github.com/users/Wetmelon","html_url":"https://github.com/Wetmelon","followers_url":"https://api.github.com/users/Wetmelon/followers","following_url":"https://api.github.com/users/Wetmelon/following{/other_user}","gists_url":"https://api.github.com/users/Wetmelon/gists{/gist_id}","starred_url":"https://api.github.com/users/Wetmelon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wetmelon/subscriptions","organizations_url":"https://api.github.com/users/Wetmelon/orgs","repos_url":"https://api.github.com/users/Wetmelon/repos","events_url":"https://api.github.com/users/Wetmelon/events{/privacy}","received_events_url":"https://api.github.com/users/Wetmelon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Wetmelon/Adafruit_BNO055","description":"Unified sensor driver for the Adafruit BNO055 orientation sensor breakout","fork":true,"url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055","forks_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/forks","keys_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/teams","hooks_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/hooks","issue_events_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/issues/events{/number}","events_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/events","assignees_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/assignees{/user}","branches_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/branches{/branch}","tags_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/tags","blobs_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/statuses/{sha}","languages_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/languages","stargazers_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/stargazers","contributors_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/contributors","subscribers_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/subscribers","subscription_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/subscription","commits_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/contents/{+path}","compare_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/merges","archive_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/downloads","issues_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/issues{/number}","pulls_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/pulls{/number}","milestones_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/milestones{/number}","notifications_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/labels{/name}","releases_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/releases{/id}","deployments_url":"https://api.github.com/repos/Wetmelon/Adafruit_BNO055/deployments","created_at":"2015-11-13T21:37:51Z","updated_at":"2016-06-01T00:39:43Z","pushed_at":"2016-06-01T00:47:31Z","git_url":"git://github.com/Wetmelon/Adafruit_BNO055.git","ssh_url":"git@github.com:Wetmelon/Adafruit_BNO055.git","clone_url":"https://github.com/Wetmelon/Adafruit_BNO055.git","svn_url":"https://github.com/Wetmelon/Adafruit_BNO055","homepage":null,"size":7165,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"adafruit:master","ref":"master","sha":"cac43ed40e809c280f98a124fae13fa5c8cf1d0a","user":{"login":"adafruit","id":181069,"avatar_url":"https://avatars.githubusercontent.com/u/181069?v=3","gravatar_id":"","url":"https://api.github.com/users/adafruit","html_url":"https://github.com/adafruit","followers_url":"https://api.github.com/users/adafruit/followers","following_url":"https://api.github.com/users/adafruit/following{/other_user}","gists_url":"https://api.github.com/users/adafruit/gists{/gist_id}","starred_url":"https://api.github.com/users/adafruit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adafruit/subscriptions","organizations_url":"https://api.github.com/users/adafruit/orgs","repos_url":"https://api.github.com/users/adafruit/repos","events_url":"https://api.github.com/users/adafruit/events{/privacy}","received_events_url":"https://api.github.com/users/adafruit/received_events","type":"Organization","site_admin":false},"repo":{"id":33424184,"name":"Adafruit_BNO055","full_name":"adafruit/Adafruit_BNO055","owner":{"login":"adafruit","id":181069,"avatar_url":"https://avatars.githubusercontent.com/u/181069?v=3","gravatar_id":"","url":"https://api.github.com/users/adafruit","html_url":"https://github.com/adafruit","followers_url":"https://api.github.com/users/adafruit/followers","following_url":"https://api.github.com/users/adafruit/following{/other_user}","gists_url":"https://api.github.com/users/adafruit/gists{/gist_id}","starred_url":"https://api.github.com/users/adafruit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adafruit/subscriptions","organizations_url":"https://api.github.com/users/adafruit/orgs","repos_url":"https://api.github.com/users/adafruit/repos","events_url":"https://api.github.com/users/adafruit/events{/privacy}","received_events_url":"https://api.github.com/users/adafruit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adafruit/Adafruit_BNO055","description":"Unified sensor driver for the Adafruit BNO055 orientation sensor breakout","fork":false,"url":"https://api.github.com/repos/adafruit/Adafruit_BNO055","forks_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/forks","keys_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/teams","hooks_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/hooks","issue_events_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/issues/events{/number}","events_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/events","assignees_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/assignees{/user}","branches_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/branches{/branch}","tags_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/tags","blobs_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/git/refs{/sha}","trees_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/statuses/{sha}","languages_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/languages","stargazers_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/stargazers","contributors_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/contributors","subscribers_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/subscribers","subscription_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/subscription","commits_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/commits{/sha}","git_commits_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/git/commits{/sha}","comments_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/comments{/number}","issue_comment_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/issues/comments{/number}","contents_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/contents/{+path}","compare_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/merges","archive_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/downloads","issues_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/issues{/number}","pulls_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/pulls{/number}","milestones_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/milestones{/number}","notifications_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/labels{/name}","releases_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/releases{/id}","deployments_url":"https://api.github.com/repos/adafruit/Adafruit_BNO055/deployments","created_at":"2015-04-04T23:43:22Z","updated_at":"2016-09-04T16:03:05Z","pushed_at":"2016-09-02T06:18:41Z","git_url":"git://github.com/adafruit/Adafruit_BNO055.git","ssh_url":"git@github.com:adafruit/Adafruit_BNO055.git","clone_url":"https://github.com/adafruit/Adafruit_BNO055.git","svn_url":"https://github.com/adafruit/Adafruit_BNO055","homepage":null,"size":7217,"stargazers_count":43,"watchers_count":43,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":6,"forks":50,"open_issues":6,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adafruit/Adafruit_BNO055/pulls/11"},"html":{"href":"https://github.com/adafruit/Adafruit_BNO055/pull/11"},"issue":{"href":"https://api.github.com/repos/adafruit/Adafruit_BNO055/issues/11"},"comments":{"href":"https://api.github.com/repos/adafruit/Adafruit_BNO055/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/adafruit/Adafruit_BNO055/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/adafruit/Adafruit_BNO055/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adafruit/Adafruit_BNO055/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/adafruit/Adafruit_BNO055/statuses/f5136614bc969b9cbd94985d5556367be164cf0b"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":232,"deletions":161,"changed_files":3}}
{"actor":{"display_login":"Wetmelon"}}