{"action":"closed","number":1688,"pull_request":{"url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/1688","id":56260303,"html_url":"https://github.com/cleanflight/cleanflight/pull/1688","diff_url":"https://github.com/cleanflight/cleanflight/pull/1688.diff","patch_url":"https://github.com/cleanflight/cleanflight/pull/1688.patch","issue_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1688","number":1688,"state":"closed","locked":false,"title":"target file clean up","user":{"login":"henn1001","id":10023892,"avatar_url":"https://avatars.githubusercontent.com/u/10023892?v=3","gravatar_id":"","url":"https://api.github.com/users/henn1001","html_url":"https://github.com/henn1001","followers_url":"https://api.github.com/users/henn1001/followers","following_url":"https://api.github.com/users/henn1001/following{/other_user}","gists_url":"https://api.github.com/users/henn1001/gists{/gist_id}","starred_url":"https://api.github.com/users/henn1001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henn1001/subscriptions","organizations_url":"https://api.github.com/users/henn1001/orgs","repos_url":"https://api.github.com/users/henn1001/repos","events_url":"https://api.github.com/users/henn1001/events{/privacy}","received_events_url":"https://api.github.com/users/henn1001/received_events","type":"User","site_admin":false},"body":"It always bugged what a complete mess those files where so i´m trying to make them cleaner with this pr. Introduce some standardization...\r\n\r\nIt´s still WIP as i haven´t double checked everything for errors, but i hope that something like this will be welcomed!? \r\n\r\nI think it´s also time to slowly think about ways to rip out all this target depended ifdefs out of the codebase  and create a extra file in the /target folders for timer/pwm/interrupt setups etc.","created_at":"2016-01-16T19:01:04Z","updated_at":"2016-08-24T17:12:59Z","closed_at":"2016-08-24T17:12:59Z","merged_at":null,"merge_commit_sha":"542b93bbe057ed75502ace7ad786268cb40af245","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/cleanflight/cleanflight/milestones/14","html_url":"https://github.com/cleanflight/cleanflight/milestones/1.14.0","labels_url":"https://api.github.com/repos/cleanflight/cleanflight/milestones/14/labels","id":1753262,"number":14,"title":"1.14.0","description":"","creator":{"login":"hydra","id":57075,"avatar_url":"https://avatars.githubusercontent.com/u/57075?v=3","gravatar_id":"","url":"https://api.github.com/users/hydra","html_url":"https://github.com/hydra","followers_url":"https://api.github.com/users/hydra/followers","following_url":"https://api.github.com/users/hydra/following{/other_user}","gists_url":"https://api.github.com/users/hydra/gists{/gist_id}","starred_url":"https://api.github.com/users/hydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hydra/subscriptions","organizations_url":"https://api.github.com/users/hydra/orgs","repos_url":"https://api.github.com/users/hydra/repos","events_url":"https://api.github.com/users/hydra/events{/privacy}","received_events_url":"https://api.github.com/users/hydra/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":31,"state":"open","created_at":"2016-05-07T20:08:42Z","updated_at":"2016-08-24T17:12:59Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/1688/commits","review_comments_url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/1688/comments","review_comment_url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1688/comments","statuses_url":"https://api.github.com/repos/cleanflight/cleanflight/statuses/7df625503a29f0e94c654c7bda9c02ddb7833e45","head":{"label":"henn1001:StandarizedTarget.h","ref":"StandarizedTarget.h","sha":"7df625503a29f0e94c654c7bda9c02ddb7833e45","user":{"login":"henn1001","id":10023892,"avatar_url":"https://avatars.githubusercontent.com/u/10023892?v=3","gravatar_id":"","url":"https://api.github.com/users/henn1001","html_url":"https://github.com/henn1001","followers_url":"https://api.github.com/users/henn1001/followers","following_url":"https://api.github.com/users/henn1001/following{/other_user}","gists_url":"https://api.github.com/users/henn1001/gists{/gist_id}","starred_url":"https://api.github.com/users/henn1001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henn1001/subscriptions","organizations_url":"https://api.github.com/users/henn1001/orgs","repos_url":"https://api.github.com/users/henn1001/repos","events_url":"https://api.github.com/users/henn1001/events{/privacy}","received_events_url":"https://api.github.com/users/henn1001/received_events","type":"User","site_admin":false},"repo":{"id":37520408,"name":"cleanflight","full_name":"henn1001/cleanflight","owner":{"login":"henn1001","id":10023892,"avatar_url":"https://avatars.githubusercontent.com/u/10023892?v=3","gravatar_id":"","url":"https://api.github.com/users/henn1001","html_url":"https://github.com/henn1001","followers_url":"https://api.github.com/users/henn1001/followers","following_url":"https://api.github.com/users/henn1001/following{/other_user}","gists_url":"https://api.github.com/users/henn1001/gists{/gist_id}","starred_url":"https://api.github.com/users/henn1001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henn1001/subscriptions","organizations_url":"https://api.github.com/users/henn1001/orgs","repos_url":"https://api.github.com/users/henn1001/repos","events_url":"https://api.github.com/users/henn1001/events{/privacy}","received_events_url":"https://api.github.com/users/henn1001/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/henn1001/cleanflight","description":"Clean-code version of the baseflight flight controller firmware","fork":true,"url":"https://api.github.com/repos/henn1001/cleanflight","forks_url":"https://api.github.com/repos/henn1001/cleanflight/forks","keys_url":"https://api.github.com/repos/henn1001/cleanflight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/henn1001/cleanflight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/henn1001/cleanflight/teams","hooks_url":"https://api.github.com/repos/henn1001/cleanflight/hooks","issue_events_url":"https://api.github.com/repos/henn1001/cleanflight/issues/events{/number}","events_url":"https://api.github.com/repos/henn1001/cleanflight/events","assignees_url":"https://api.github.com/repos/henn1001/cleanflight/assignees{/user}","branches_url":"https://api.github.com/repos/henn1001/cleanflight/branches{/branch}","tags_url":"https://api.github.com/repos/henn1001/cleanflight/tags","blobs_url":"https://api.github.com/repos/henn1001/cleanflight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/henn1001/cleanflight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/henn1001/cleanflight/git/refs{/sha}","trees_url":"https://api.github.com/repos/henn1001/cleanflight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/henn1001/cleanflight/statuses/{sha}","languages_url":"https://api.github.com/repos/henn1001/cleanflight/languages","stargazers_url":"https://api.github.com/repos/henn1001/cleanflight/stargazers","contributors_url":"https://api.github.com/repos/henn1001/cleanflight/contributors","subscribers_url":"https://api.github.com/repos/henn1001/cleanflight/subscribers","subscription_url":"https://api.github.com/repos/henn1001/cleanflight/subscription","commits_url":"https://api.github.com/repos/henn1001/cleanflight/commits{/sha}","git_commits_url":"https://api.github.com/repos/henn1001/cleanflight/git/commits{/sha}","comments_url":"https://api.github.com/repos/henn1001/cleanflight/comments{/number}","issue_comment_url":"https://api.github.com/repos/henn1001/cleanflight/issues/comments{/number}","contents_url":"https://api.github.com/repos/henn1001/cleanflight/contents/{+path}","compare_url":"https://api.github.com/repos/henn1001/cleanflight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/henn1001/cleanflight/merges","archive_url":"https://api.github.com/repos/henn1001/cleanflight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/henn1001/cleanflight/downloads","issues_url":"https://api.github.com/repos/henn1001/cleanflight/issues{/number}","pulls_url":"https://api.github.com/repos/henn1001/cleanflight/pulls{/number}","milestones_url":"https://api.github.com/repos/henn1001/cleanflight/milestones{/number}","notifications_url":"https://api.github.com/repos/henn1001/cleanflight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/henn1001/cleanflight/labels{/name}","releases_url":"https://api.github.com/repos/henn1001/cleanflight/releases{/id}","deployments_url":"https://api.github.com/repos/henn1001/cleanflight/deployments","created_at":"2015-06-16T09:19:07Z","updated_at":"2016-01-16T16:04:56Z","pushed_at":"2016-02-24T20:53:30Z","git_url":"git://github.com/henn1001/cleanflight.git","ssh_url":"git@github.com:henn1001/cleanflight.git","clone_url":"https://github.com/henn1001/cleanflight.git","svn_url":"https://github.com/henn1001/cleanflight","homepage":"http://cleanflight.com","size":83634,"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":"cleanflight:master","ref":"master","sha":"f605029737c944d72bff4dfacab84f19d15fe1bb","user":{"login":"cleanflight","id":8776523,"avatar_url":"https://avatars.githubusercontent.com/u/8776523?v=3","gravatar_id":"","url":"https://api.github.com/users/cleanflight","html_url":"https://github.com/cleanflight","followers_url":"https://api.github.com/users/cleanflight/followers","following_url":"https://api.github.com/users/cleanflight/following{/other_user}","gists_url":"https://api.github.com/users/cleanflight/gists{/gist_id}","starred_url":"https://api.github.com/users/cleanflight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cleanflight/subscriptions","organizations_url":"https://api.github.com/users/cleanflight/orgs","repos_url":"https://api.github.com/users/cleanflight/repos","events_url":"https://api.github.com/users/cleanflight/events{/privacy}","received_events_url":"https://api.github.com/users/cleanflight/received_events","type":"Organization","site_admin":false},"repo":{"id":9066347,"name":"cleanflight","full_name":"cleanflight/cleanflight","owner":{"login":"cleanflight","id":8776523,"avatar_url":"https://avatars.githubusercontent.com/u/8776523?v=3","gravatar_id":"","url":"https://api.github.com/users/cleanflight","html_url":"https://github.com/cleanflight","followers_url":"https://api.github.com/users/cleanflight/followers","following_url":"https://api.github.com/users/cleanflight/following{/other_user}","gists_url":"https://api.github.com/users/cleanflight/gists{/gist_id}","starred_url":"https://api.github.com/users/cleanflight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cleanflight/subscriptions","organizations_url":"https://api.github.com/users/cleanflight/orgs","repos_url":"https://api.github.com/users/cleanflight/repos","events_url":"https://api.github.com/users/cleanflight/events{/privacy}","received_events_url":"https://api.github.com/users/cleanflight/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cleanflight/cleanflight","description":"Clean-code version of the baseflight flight controller firmware","fork":false,"url":"https://api.github.com/repos/cleanflight/cleanflight","forks_url":"https://api.github.com/repos/cleanflight/cleanflight/forks","keys_url":"https://api.github.com/repos/cleanflight/cleanflight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cleanflight/cleanflight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cleanflight/cleanflight/teams","hooks_url":"https://api.github.com/repos/cleanflight/cleanflight/hooks","issue_events_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/events{/number}","events_url":"https://api.github.com/repos/cleanflight/cleanflight/events","assignees_url":"https://api.github.com/repos/cleanflight/cleanflight/assignees{/user}","branches_url":"https://api.github.com/repos/cleanflight/cleanflight/branches{/branch}","tags_url":"https://api.github.com/repos/cleanflight/cleanflight/tags","blobs_url":"https://api.github.com/repos/cleanflight/cleanflight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cleanflight/cleanflight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cleanflight/cleanflight/git/refs{/sha}","trees_url":"https://api.github.com/repos/cleanflight/cleanflight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cleanflight/cleanflight/statuses/{sha}","languages_url":"https://api.github.com/repos/cleanflight/cleanflight/languages","stargazers_url":"https://api.github.com/repos/cleanflight/cleanflight/stargazers","contributors_url":"https://api.github.com/repos/cleanflight/cleanflight/contributors","subscribers_url":"https://api.github.com/repos/cleanflight/cleanflight/subscribers","subscription_url":"https://api.github.com/repos/cleanflight/cleanflight/subscription","commits_url":"https://api.github.com/repos/cleanflight/cleanflight/commits{/sha}","git_commits_url":"https://api.github.com/repos/cleanflight/cleanflight/git/commits{/sha}","comments_url":"https://api.github.com/repos/cleanflight/cleanflight/comments{/number}","issue_comment_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/comments{/number}","contents_url":"https://api.github.com/repos/cleanflight/cleanflight/contents/{+path}","compare_url":"https://api.github.com/repos/cleanflight/cleanflight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cleanflight/cleanflight/merges","archive_url":"https://api.github.com/repos/cleanflight/cleanflight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cleanflight/cleanflight/downloads","issues_url":"https://api.github.com/repos/cleanflight/cleanflight/issues{/number}","pulls_url":"https://api.github.com/repos/cleanflight/cleanflight/pulls{/number}","milestones_url":"https://api.github.com/repos/cleanflight/cleanflight/milestones{/number}","notifications_url":"https://api.github.com/repos/cleanflight/cleanflight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cleanflight/cleanflight/labels{/name}","releases_url":"https://api.github.com/repos/cleanflight/cleanflight/releases{/id}","deployments_url":"https://api.github.com/repos/cleanflight/cleanflight/deployments","created_at":"2013-03-27T23:49:19Z","updated_at":"2016-08-24T09:17:35Z","pushed_at":"2016-08-24T17:07:35Z","git_url":"git://github.com/cleanflight/cleanflight.git","ssh_url":"git@github.com:cleanflight/cleanflight.git","clone_url":"https://github.com/cleanflight/cleanflight.git","svn_url":"https://github.com/cleanflight/cleanflight","homepage":"http://cleanflight.com","size":105167,"stargazers_count":1210,"watchers_count":1210,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1222,"mirror_url":null,"open_issues_count":529,"forks":1222,"open_issues":529,"watchers":1210,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cleanflight/cleanflight/pulls/1688"},"html":{"href":"https://github.com/cleanflight/cleanflight/pull/1688"},"issue":{"href":"https://api.github.com/repos/cleanflight/cleanflight/issues/1688"},"comments":{"href":"https://api.github.com/repos/cleanflight/cleanflight/issues/1688/comments"},"review_comments":{"href":"https://api.github.com/repos/cleanflight/cleanflight/pulls/1688/comments"},"review_comment":{"href":"https://api.github.com/repos/cleanflight/cleanflight/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cleanflight/cleanflight/pulls/1688/commits"},"statuses":{"href":"https://api.github.com/repos/cleanflight/cleanflight/statuses/7df625503a29f0e94c654c7bda9c02ddb7833e45"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":4,"review_comments":0,"commits":1,"additions":889,"deletions":672,"changed_files":15}}
{"actor":{"display_login":"hydra"}}