{"action":"created","comment":{"url":"https://api.github.com/repos/iNavFlight/inav/pulls/comments/141546781","pull_request_review_id":65775338,"id":141546781,"diff_hunk":"@@ -34,7 +50,7 @@ typedef enum {\n     OWNER_RX_SPI,\n     OWNER_VTX,\n     OWNER_TOTAL_COUNT\n-} resourceOwner_t;\n+} resourceOwner_e;","path":"src/main/drivers/resource.h","position":25,"original_position":25,"commit_id":"bd9e217e7e43e46aaa4bd7d3ad00e91c88a6306c","original_commit_id":"bd9e217e7e43e46aaa4bd7d3ad00e91c88a6306c","user":{"login":"digitalentity","id":11059099,"avatar_url":"https://avatars2.githubusercontent.com/u/11059099?v=4","gravatar_id":"","url":"https://api.github.com/users/digitalentity","html_url":"https://github.com/digitalentity","followers_url":"https://api.github.com/users/digitalentity/followers","following_url":"https://api.github.com/users/digitalentity/following{/other_user}","gists_url":"https://api.github.com/users/digitalentity/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalentity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalentity/subscriptions","organizations_url":"https://api.github.com/users/digitalentity/orgs","repos_url":"https://api.github.com/users/digitalentity/repos","events_url":"https://api.github.com/users/digitalentity/events{/privacy}","received_events_url":"https://api.github.com/users/digitalentity/received_events","type":"User","site_admin":false},"body":"Yes, that's true for enums. Let's keep it like this.","created_at":"2017-09-28T07:46:05Z","updated_at":"2017-09-28T07:46:05Z","html_url":"https://github.com/iNavFlight/inav/pull/2224#discussion_r141546781","pull_request_url":"https://api.github.com/repos/iNavFlight/inav/pulls/2224","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/iNavFlight/inav/pulls/comments/141546781"},"html":{"href":"https://github.com/iNavFlight/inav/pull/2224#discussion_r141546781"},"pull_request":{"href":"https://api.github.com/repos/iNavFlight/inav/pulls/2224"}},"in_reply_to_id":141538129},"pull_request":{"url":"https://api.github.com/repos/iNavFlight/inav/pulls/2224","id":143560294,"html_url":"https://github.com/iNavFlight/inav/pull/2224","diff_url":"https://github.com/iNavFlight/inav/pull/2224.diff","patch_url":"https://github.com/iNavFlight/inav/pull/2224.patch","issue_url":"https://api.github.com/repos/iNavFlight/inav/issues/2224","number":2224,"state":"open","locked":false,"title":"Tidy of resource/io. Align with betaflight","user":{"login":"martinbudden","id":194586,"avatar_url":"https://avatars2.githubusercontent.com/u/194586?v=4","gravatar_id":"","url":"https://api.github.com/users/martinbudden","html_url":"https://github.com/martinbudden","followers_url":"https://api.github.com/users/martinbudden/followers","following_url":"https://api.github.com/users/martinbudden/following{/other_user}","gists_url":"https://api.github.com/users/martinbudden/gists{/gist_id}","starred_url":"https://api.github.com/users/martinbudden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinbudden/subscriptions","organizations_url":"https://api.github.com/users/martinbudden/orgs","repos_url":"https://api.github.com/users/martinbudden/repos","events_url":"https://api.github.com/users/martinbudden/events{/privacy}","received_events_url":"https://api.github.com/users/martinbudden/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-09-28T05:50:03Z","updated_at":"2017-09-28T07:46:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dded3d2e95a13c6b2e4cd1e410f70d4f4f24d1d1","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/iNavFlight/inav/milestones/12","html_url":"https://github.com/iNavFlight/inav/milestone/12","labels_url":"https://api.github.com/repos/iNavFlight/inav/milestones/12/labels","id":2215651,"number":12,"title":"1.8","description":"","creator":{"login":"digitalentity","id":11059099,"avatar_url":"https://avatars2.githubusercontent.com/u/11059099?v=4","gravatar_id":"","url":"https://api.github.com/users/digitalentity","html_url":"https://github.com/digitalentity","followers_url":"https://api.github.com/users/digitalentity/followers","following_url":"https://api.github.com/users/digitalentity/following{/other_user}","gists_url":"https://api.github.com/users/digitalentity/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalentity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalentity/subscriptions","organizations_url":"https://api.github.com/users/digitalentity/orgs","repos_url":"https://api.github.com/users/digitalentity/repos","events_url":"https://api.github.com/users/digitalentity/events{/privacy}","received_events_url":"https://api.github.com/users/digitalentity/received_events","type":"User","site_admin":false},"open_issues":52,"closed_issues":78,"state":"open","created_at":"2016-12-26T12:12:34Z","updated_at":"2017-09-28T05:50:04Z","due_on":"2017-10-31T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/iNavFlight/inav/pulls/2224/commits","review_comments_url":"https://api.github.com/repos/iNavFlight/inav/pulls/2224/comments","review_comment_url":"https://api.github.com/repos/iNavFlight/inav/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iNavFlight/inav/issues/2224/comments","statuses_url":"https://api.github.com/repos/iNavFlight/inav/statuses/bd9e217e7e43e46aaa4bd7d3ad00e91c88a6306c","head":{"label":"martinbudden:inav_resource_io_tidy","ref":"inav_resource_io_tidy","sha":"bd9e217e7e43e46aaa4bd7d3ad00e91c88a6306c","user":{"login":"martinbudden","id":194586,"avatar_url":"https://avatars2.githubusercontent.com/u/194586?v=4","gravatar_id":"","url":"https://api.github.com/users/martinbudden","html_url":"https://github.com/martinbudden","followers_url":"https://api.github.com/users/martinbudden/followers","following_url":"https://api.github.com/users/martinbudden/following{/other_user}","gists_url":"https://api.github.com/users/martinbudden/gists{/gist_id}","starred_url":"https://api.github.com/users/martinbudden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinbudden/subscriptions","organizations_url":"https://api.github.com/users/martinbudden/orgs","repos_url":"https://api.github.com/users/martinbudden/repos","events_url":"https://api.github.com/users/martinbudden/events{/privacy}","received_events_url":"https://api.github.com/users/martinbudden/received_events","type":"User","site_admin":false},"repo":{"id":46673290,"name":"cleanflight","full_name":"martinbudden/cleanflight","owner":{"login":"martinbudden","id":194586,"avatar_url":"https://avatars2.githubusercontent.com/u/194586?v=4","gravatar_id":"","url":"https://api.github.com/users/martinbudden","html_url":"https://github.com/martinbudden","followers_url":"https://api.github.com/users/martinbudden/followers","following_url":"https://api.github.com/users/martinbudden/following{/other_user}","gists_url":"https://api.github.com/users/martinbudden/gists{/gist_id}","starred_url":"https://api.github.com/users/martinbudden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinbudden/subscriptions","organizations_url":"https://api.github.com/users/martinbudden/orgs","repos_url":"https://api.github.com/users/martinbudden/repos","events_url":"https://api.github.com/users/martinbudden/events{/privacy}","received_events_url":"https://api.github.com/users/martinbudden/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/martinbudden/cleanflight","description":"Clean-code version of the baseflight flight controller firmware","fork":true,"url":"https://api.github.com/repos/martinbudden/cleanflight","forks_url":"https://api.github.com/repos/martinbudden/cleanflight/forks","keys_url":"https://api.github.com/repos/martinbudden/cleanflight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/martinbudden/cleanflight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/martinbudden/cleanflight/teams","hooks_url":"https://api.github.com/repos/martinbudden/cleanflight/hooks","issue_events_url":"https://api.github.com/repos/martinbudden/cleanflight/issues/events{/number}","events_url":"https://api.github.com/repos/martinbudden/cleanflight/events","assignees_url":"https://api.github.com/repos/martinbudden/cleanflight/assignees{/user}","branches_url":"https://api.github.com/repos/martinbudden/cleanflight/branches{/branch}","tags_url":"https://api.github.com/repos/martinbudden/cleanflight/tags","blobs_url":"https://api.github.com/repos/martinbudden/cleanflight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/martinbudden/cleanflight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/martinbudden/cleanflight/git/refs{/sha}","trees_url":"https://api.github.com/repos/martinbudden/cleanflight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/martinbudden/cleanflight/statuses/{sha}","languages_url":"https://api.github.com/repos/martinbudden/cleanflight/languages","stargazers_url":"https://api.github.com/repos/martinbudden/cleanflight/stargazers","contributors_url":"https://api.github.com/repos/martinbudden/cleanflight/contributors","subscribers_url":"https://api.github.com/repos/martinbudden/cleanflight/subscribers","subscription_url":"https://api.github.com/repos/martinbudden/cleanflight/subscription","commits_url":"https://api.github.com/repos/martinbudden/cleanflight/commits{/sha}","git_commits_url":"https://api.github.com/repos/martinbudden/cleanflight/git/commits{/sha}","comments_url":"https://api.github.com/repos/martinbudden/cleanflight/comments{/number}","issue_comment_url":"https://api.github.com/repos/martinbudden/cleanflight/issues/comments{/number}","contents_url":"https://api.github.com/repos/martinbudden/cleanflight/contents/{+path}","compare_url":"https://api.github.com/repos/martinbudden/cleanflight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/martinbudden/cleanflight/merges","archive_url":"https://api.github.com/repos/martinbudden/cleanflight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/martinbudden/cleanflight/downloads","issues_url":"https://api.github.com/repos/martinbudden/cleanflight/issues{/number}","pulls_url":"https://api.github.com/repos/martinbudden/cleanflight/pulls{/number}","milestones_url":"https://api.github.com/repos/martinbudden/cleanflight/milestones{/number}","notifications_url":"https://api.github.com/repos/martinbudden/cleanflight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/martinbudden/cleanflight/labels{/name}","releases_url":"https://api.github.com/repos/martinbudden/cleanflight/releases{/id}","deployments_url":"https://api.github.com/repos/martinbudden/cleanflight/deployments","created_at":"2015-11-22T18:18:03Z","updated_at":"2016-01-12T14:28:11Z","pushed_at":"2017-09-28T07:20:46Z","git_url":"git://github.com/martinbudden/cleanflight.git","ssh_url":"git@github.com:martinbudden/cleanflight.git","clone_url":"https://github.com/martinbudden/cleanflight.git","svn_url":"https://github.com/martinbudden/cleanflight","homepage":"http://cleanflight.com","size":199995,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"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":"iNavFlight:development","ref":"development","sha":"78d85c9cb7eab1a41a4e3eb396d53f28787dce84","user":{"login":"iNavFlight","id":15979895,"avatar_url":"https://avatars2.githubusercontent.com/u/15979895?v=4","gravatar_id":"","url":"https://api.github.com/users/iNavFlight","html_url":"https://github.com/iNavFlight","followers_url":"https://api.github.com/users/iNavFlight/followers","following_url":"https://api.github.com/users/iNavFlight/following{/other_user}","gists_url":"https://api.github.com/users/iNavFlight/gists{/gist_id}","starred_url":"https://api.github.com/users/iNavFlight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iNavFlight/subscriptions","organizations_url":"https://api.github.com/users/iNavFlight/orgs","repos_url":"https://api.github.com/users/iNavFlight/repos","events_url":"https://api.github.com/users/iNavFlight/events{/privacy}","received_events_url":"https://api.github.com/users/iNavFlight/received_events","type":"Organization","site_admin":false},"repo":{"id":32148604,"name":"inav","full_name":"iNavFlight/inav","owner":{"login":"iNavFlight","id":15979895,"avatar_url":"https://avatars2.githubusercontent.com/u/15979895?v=4","gravatar_id":"","url":"https://api.github.com/users/iNavFlight","html_url":"https://github.com/iNavFlight","followers_url":"https://api.github.com/users/iNavFlight/followers","following_url":"https://api.github.com/users/iNavFlight/following{/other_user}","gists_url":"https://api.github.com/users/iNavFlight/gists{/gist_id}","starred_url":"https://api.github.com/users/iNavFlight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iNavFlight/subscriptions","organizations_url":"https://api.github.com/users/iNavFlight/orgs","repos_url":"https://api.github.com/users/iNavFlight/repos","events_url":"https://api.github.com/users/iNavFlight/events{/privacy}","received_events_url":"https://api.github.com/users/iNavFlight/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/iNavFlight/inav","description":"INAV: Navigation-enabled flight control software","fork":true,"url":"https://api.github.com/repos/iNavFlight/inav","forks_url":"https://api.github.com/repos/iNavFlight/inav/forks","keys_url":"https://api.github.com/repos/iNavFlight/inav/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iNavFlight/inav/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iNavFlight/inav/teams","hooks_url":"https://api.github.com/repos/iNavFlight/inav/hooks","issue_events_url":"https://api.github.com/repos/iNavFlight/inav/issues/events{/number}","events_url":"https://api.github.com/repos/iNavFlight/inav/events","assignees_url":"https://api.github.com/repos/iNavFlight/inav/assignees{/user}","branches_url":"https://api.github.com/repos/iNavFlight/inav/branches{/branch}","tags_url":"https://api.github.com/repos/iNavFlight/inav/tags","blobs_url":"https://api.github.com/repos/iNavFlight/inav/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iNavFlight/inav/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iNavFlight/inav/git/refs{/sha}","trees_url":"https://api.github.com/repos/iNavFlight/inav/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iNavFlight/inav/statuses/{sha}","languages_url":"https://api.github.com/repos/iNavFlight/inav/languages","stargazers_url":"https://api.github.com/repos/iNavFlight/inav/stargazers","contributors_url":"https://api.github.com/repos/iNavFlight/inav/contributors","subscribers_url":"https://api.github.com/repos/iNavFlight/inav/subscribers","subscription_url":"https://api.github.com/repos/iNavFlight/inav/subscription","commits_url":"https://api.github.com/repos/iNavFlight/inav/commits{/sha}","git_commits_url":"https://api.github.com/repos/iNavFlight/inav/git/commits{/sha}","comments_url":"https://api.github.com/repos/iNavFlight/inav/comments{/number}","issue_comment_url":"https://api.github.com/repos/iNavFlight/inav/issues/comments{/number}","contents_url":"https://api.github.com/repos/iNavFlight/inav/contents/{+path}","compare_url":"https://api.github.com/repos/iNavFlight/inav/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iNavFlight/inav/merges","archive_url":"https://api.github.com/repos/iNavFlight/inav/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iNavFlight/inav/downloads","issues_url":"https://api.github.com/repos/iNavFlight/inav/issues{/number}","pulls_url":"https://api.github.com/repos/iNavFlight/inav/pulls{/number}","milestones_url":"https://api.github.com/repos/iNavFlight/inav/milestones{/number}","notifications_url":"https://api.github.com/repos/iNavFlight/inav/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iNavFlight/inav/labels{/name}","releases_url":"https://api.github.com/repos/iNavFlight/inav/releases{/id}","deployments_url":"https://api.github.com/repos/iNavFlight/inav/deployments","created_at":"2015-03-13T09:58:19Z","updated_at":"2017-09-26T14:01:54Z","pushed_at":"2017-09-28T07:22:25Z","git_url":"git://github.com/iNavFlight/inav.git","ssh_url":"git@github.com:iNavFlight/inav.git","clone_url":"https://github.com/iNavFlight/inav.git","svn_url":"https://github.com/iNavFlight/inav","homepage":"https://inavflight.github.io","size":89569,"stargazers_count":321,"watchers_count":321,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":166,"mirror_url":null,"open_issues_count":241,"forks":166,"open_issues":241,"watchers":321,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iNavFlight/inav/pulls/2224"},"html":{"href":"https://github.com/iNavFlight/inav/pull/2224"},"issue":{"href":"https://api.github.com/repos/iNavFlight/inav/issues/2224"},"comments":{"href":"https://api.github.com/repos/iNavFlight/inav/issues/2224/comments"},"review_comments":{"href":"https://api.github.com/repos/iNavFlight/inav/pulls/2224/comments"},"review_comment":{"href":"https://api.github.com/repos/iNavFlight/inav/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iNavFlight/inav/pulls/2224/commits"},"statuses":{"href":"https://api.github.com/repos/iNavFlight/inav/statuses/bd9e217e7e43e46aaa4bd7d3ad00e91c88a6306c"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"digitalentity"}}