{"action":"closed","number":166,"pull_request":{"url":"https://api.github.com/repos/rs2k/raceflight/pulls/166","id":67993093,"html_url":"https://github.com/rs2k/raceflight/pull/166","diff_url":"https://github.com/rs2k/raceflight/pull/166.diff","patch_url":"https://github.com/rs2k/raceflight/pull/166.patch","issue_url":"https://api.github.com/repos/rs2k/raceflight/issues/166","number":166,"state":"closed","locked":false,"title":"Vbat1","user":{"login":"proggod","id":9407094,"avatar_url":"https://avatars.githubusercontent.com/u/9407094?v=3","gravatar_id":"","url":"https://api.github.com/users/proggod","html_url":"https://github.com/proggod","followers_url":"https://api.github.com/users/proggod/followers","following_url":"https://api.github.com/users/proggod/following{/other_user}","gists_url":"https://api.github.com/users/proggod/gists{/gist_id}","starred_url":"https://api.github.com/users/proggod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proggod/subscriptions","organizations_url":"https://api.github.com/users/proggod/orgs","repos_url":"https://api.github.com/users/proggod/repos","events_url":"https://api.github.com/users/proggod/events{/privacy}","received_events_url":"https://api.github.com/users/proggod/received_events","type":"User","site_admin":false},"body":"I used vbatminvoltage, this seems like something that we don't need to change, and I needed room to store the voltage divider.  If this works I can rename it to an appropriate name.  This should be a better formula to calculate voltage, and this also allows you to use any resistors.  Voltage divider should be calculated using formula (high_resistor+low_resistor)/low_resistor, which should be tested with an accurate volt meter, or use a 1% resistor and the values rated.   \r\n\r\n","created_at":"2016-04-27T03:53:18Z","updated_at":"2016-04-28T19:08:52Z","closed_at":"2016-04-28T19:08:52Z","merged_at":"2016-04-28T19:08:52Z","merge_commit_sha":"1839f41a9f5e4813cc8ff1d3b7a378a99c8cf128","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rs2k/raceflight/pulls/166/commits","review_comments_url":"https://api.github.com/repos/rs2k/raceflight/pulls/166/comments","review_comment_url":"https://api.github.com/repos/rs2k/raceflight/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rs2k/raceflight/issues/166/comments","statuses_url":"https://api.github.com/repos/rs2k/raceflight/statuses/929e3e883b2a92dfa6694e1d01ca6e2bc296991e","head":{"label":"proggod:vbat","ref":"vbat","sha":"929e3e883b2a92dfa6694e1d01ca6e2bc296991e","user":{"login":"proggod","id":9407094,"avatar_url":"https://avatars.githubusercontent.com/u/9407094?v=3","gravatar_id":"","url":"https://api.github.com/users/proggod","html_url":"https://github.com/proggod","followers_url":"https://api.github.com/users/proggod/followers","following_url":"https://api.github.com/users/proggod/following{/other_user}","gists_url":"https://api.github.com/users/proggod/gists{/gist_id}","starred_url":"https://api.github.com/users/proggod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proggod/subscriptions","organizations_url":"https://api.github.com/users/proggod/orgs","repos_url":"https://api.github.com/users/proggod/repos","events_url":"https://api.github.com/users/proggod/events{/privacy}","received_events_url":"https://api.github.com/users/proggod/received_events","type":"User","site_admin":false},"repo":{"id":57180471,"name":"raceflight","full_name":"proggod/raceflight","owner":{"login":"proggod","id":9407094,"avatar_url":"https://avatars.githubusercontent.com/u/9407094?v=3","gravatar_id":"","url":"https://api.github.com/users/proggod","html_url":"https://github.com/proggod","followers_url":"https://api.github.com/users/proggod/followers","following_url":"https://api.github.com/users/proggod/following{/other_user}","gists_url":"https://api.github.com/users/proggod/gists{/gist_id}","starred_url":"https://api.github.com/users/proggod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/proggod/subscriptions","organizations_url":"https://api.github.com/users/proggod/orgs","repos_url":"https://api.github.com/users/proggod/repos","events_url":"https://api.github.com/users/proggod/events{/privacy}","received_events_url":"https://api.github.com/users/proggod/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/proggod/raceflight","description":"STM32F4 port of Betaflight with emphasis on racing performance.","fork":true,"url":"https://api.github.com/repos/proggod/raceflight","forks_url":"https://api.github.com/repos/proggod/raceflight/forks","keys_url":"https://api.github.com/repos/proggod/raceflight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/proggod/raceflight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/proggod/raceflight/teams","hooks_url":"https://api.github.com/repos/proggod/raceflight/hooks","issue_events_url":"https://api.github.com/repos/proggod/raceflight/issues/events{/number}","events_url":"https://api.github.com/repos/proggod/raceflight/events","assignees_url":"https://api.github.com/repos/proggod/raceflight/assignees{/user}","branches_url":"https://api.github.com/repos/proggod/raceflight/branches{/branch}","tags_url":"https://api.github.com/repos/proggod/raceflight/tags","blobs_url":"https://api.github.com/repos/proggod/raceflight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/proggod/raceflight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/proggod/raceflight/git/refs{/sha}","trees_url":"https://api.github.com/repos/proggod/raceflight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/proggod/raceflight/statuses/{sha}","languages_url":"https://api.github.com/repos/proggod/raceflight/languages","stargazers_url":"https://api.github.com/repos/proggod/raceflight/stargazers","contributors_url":"https://api.github.com/repos/proggod/raceflight/contributors","subscribers_url":"https://api.github.com/repos/proggod/raceflight/subscribers","subscription_url":"https://api.github.com/repos/proggod/raceflight/subscription","commits_url":"https://api.github.com/repos/proggod/raceflight/commits{/sha}","git_commits_url":"https://api.github.com/repos/proggod/raceflight/git/commits{/sha}","comments_url":"https://api.github.com/repos/proggod/raceflight/comments{/number}","issue_comment_url":"https://api.github.com/repos/proggod/raceflight/issues/comments{/number}","contents_url":"https://api.github.com/repos/proggod/raceflight/contents/{+path}","compare_url":"https://api.github.com/repos/proggod/raceflight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/proggod/raceflight/merges","archive_url":"https://api.github.com/repos/proggod/raceflight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/proggod/raceflight/downloads","issues_url":"https://api.github.com/repos/proggod/raceflight/issues{/number}","pulls_url":"https://api.github.com/repos/proggod/raceflight/pulls{/number}","milestones_url":"https://api.github.com/repos/proggod/raceflight/milestones{/number}","notifications_url":"https://api.github.com/repos/proggod/raceflight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/proggod/raceflight/labels{/name}","releases_url":"https://api.github.com/repos/proggod/raceflight/releases{/id}","deployments_url":"https://api.github.com/repos/proggod/raceflight/deployments","created_at":"2016-04-27T03:26:47Z","updated_at":"2016-04-27T03:26:54Z","pushed_at":"2016-04-27T03:49:46Z","git_url":"git://github.com/proggod/raceflight.git","ssh_url":"git@github.com:proggod/raceflight.git","clone_url":"https://github.com/proggod/raceflight.git","svn_url":"https://github.com/proggod/raceflight","homepage":null,"size":74390,"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":"raceflight"}},"base":{"label":"rs2k:RELEASE1.0/RC11","ref":"RELEASE1.0/RC11","sha":"0b85da179e5d520b3bb1ffd47ec751642607f820","user":{"login":"rs2k","id":9113146,"avatar_url":"https://avatars.githubusercontent.com/u/9113146?v=3","gravatar_id":"","url":"https://api.github.com/users/rs2k","html_url":"https://github.com/rs2k","followers_url":"https://api.github.com/users/rs2k/followers","following_url":"https://api.github.com/users/rs2k/following{/other_user}","gists_url":"https://api.github.com/users/rs2k/gists{/gist_id}","starred_url":"https://api.github.com/users/rs2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rs2k/subscriptions","organizations_url":"https://api.github.com/users/rs2k/orgs","repos_url":"https://api.github.com/users/rs2k/repos","events_url":"https://api.github.com/users/rs2k/events{/privacy}","received_events_url":"https://api.github.com/users/rs2k/received_events","type":"User","site_admin":false},"repo":{"id":45860771,"name":"raceflight","full_name":"rs2k/raceflight","owner":{"login":"rs2k","id":9113146,"avatar_url":"https://avatars.githubusercontent.com/u/9113146?v=3","gravatar_id":"","url":"https://api.github.com/users/rs2k","html_url":"https://github.com/rs2k","followers_url":"https://api.github.com/users/rs2k/followers","following_url":"https://api.github.com/users/rs2k/following{/other_user}","gists_url":"https://api.github.com/users/rs2k/gists{/gist_id}","starred_url":"https://api.github.com/users/rs2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rs2k/subscriptions","organizations_url":"https://api.github.com/users/rs2k/orgs","repos_url":"https://api.github.com/users/rs2k/repos","events_url":"https://api.github.com/users/rs2k/events{/privacy}","received_events_url":"https://api.github.com/users/rs2k/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rs2k/raceflight","description":"STM32F4 port of Betaflight with emphasis on racing performance.","fork":false,"url":"https://api.github.com/repos/rs2k/raceflight","forks_url":"https://api.github.com/repos/rs2k/raceflight/forks","keys_url":"https://api.github.com/repos/rs2k/raceflight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rs2k/raceflight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rs2k/raceflight/teams","hooks_url":"https://api.github.com/repos/rs2k/raceflight/hooks","issue_events_url":"https://api.github.com/repos/rs2k/raceflight/issues/events{/number}","events_url":"https://api.github.com/repos/rs2k/raceflight/events","assignees_url":"https://api.github.com/repos/rs2k/raceflight/assignees{/user}","branches_url":"https://api.github.com/repos/rs2k/raceflight/branches{/branch}","tags_url":"https://api.github.com/repos/rs2k/raceflight/tags","blobs_url":"https://api.github.com/repos/rs2k/raceflight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rs2k/raceflight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rs2k/raceflight/git/refs{/sha}","trees_url":"https://api.github.com/repos/rs2k/raceflight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rs2k/raceflight/statuses/{sha}","languages_url":"https://api.github.com/repos/rs2k/raceflight/languages","stargazers_url":"https://api.github.com/repos/rs2k/raceflight/stargazers","contributors_url":"https://api.github.com/repos/rs2k/raceflight/contributors","subscribers_url":"https://api.github.com/repos/rs2k/raceflight/subscribers","subscription_url":"https://api.github.com/repos/rs2k/raceflight/subscription","commits_url":"https://api.github.com/repos/rs2k/raceflight/commits{/sha}","git_commits_url":"https://api.github.com/repos/rs2k/raceflight/git/commits{/sha}","comments_url":"https://api.github.com/repos/rs2k/raceflight/comments{/number}","issue_comment_url":"https://api.github.com/repos/rs2k/raceflight/issues/comments{/number}","contents_url":"https://api.github.com/repos/rs2k/raceflight/contents/{+path}","compare_url":"https://api.github.com/repos/rs2k/raceflight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rs2k/raceflight/merges","archive_url":"https://api.github.com/repos/rs2k/raceflight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rs2k/raceflight/downloads","issues_url":"https://api.github.com/repos/rs2k/raceflight/issues{/number}","pulls_url":"https://api.github.com/repos/rs2k/raceflight/pulls{/number}","milestones_url":"https://api.github.com/repos/rs2k/raceflight/milestones{/number}","notifications_url":"https://api.github.com/repos/rs2k/raceflight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rs2k/raceflight/labels{/name}","releases_url":"https://api.github.com/repos/rs2k/raceflight/releases{/id}","deployments_url":"https://api.github.com/repos/rs2k/raceflight/deployments","created_at":"2015-11-09T19:16:44Z","updated_at":"2016-04-26T20:41:06Z","pushed_at":"2016-04-28T19:08:52Z","git_url":"git://github.com/rs2k/raceflight.git","ssh_url":"git@github.com:rs2k/raceflight.git","clone_url":"https://github.com/rs2k/raceflight.git","svn_url":"https://github.com/rs2k/raceflight","homepage":null,"size":81446,"stargazers_count":63,"watchers_count":63,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":33,"forks":33,"open_issues":33,"watchers":63,"default_branch":"raceflight"}},"_links":{"self":{"href":"https://api.github.com/repos/rs2k/raceflight/pulls/166"},"html":{"href":"https://github.com/rs2k/raceflight/pull/166"},"issue":{"href":"https://api.github.com/repos/rs2k/raceflight/issues/166"},"comments":{"href":"https://api.github.com/repos/rs2k/raceflight/issues/166/comments"},"review_comments":{"href":"https://api.github.com/repos/rs2k/raceflight/pulls/166/comments"},"review_comment":{"href":"https://api.github.com/repos/rs2k/raceflight/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rs2k/raceflight/pulls/166/commits"},"statuses":{"href":"https://api.github.com/repos/rs2k/raceflight/statuses/929e3e883b2a92dfa6694e1d01ca6e2bc296991e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rs2k","id":9113146,"avatar_url":"https://avatars.githubusercontent.com/u/9113146?v=3","gravatar_id":"","url":"https://api.github.com/users/rs2k","html_url":"https://github.com/rs2k","followers_url":"https://api.github.com/users/rs2k/followers","following_url":"https://api.github.com/users/rs2k/following{/other_user}","gists_url":"https://api.github.com/users/rs2k/gists{/gist_id}","starred_url":"https://api.github.com/users/rs2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rs2k/subscriptions","organizations_url":"https://api.github.com/users/rs2k/orgs","repos_url":"https://api.github.com/users/rs2k/repos","events_url":"https://api.github.com/users/rs2k/events{/privacy}","received_events_url":"https://api.github.com/users/rs2k/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":12,"deletions":7,"changed_files":1}}