{"action":"created","comment":{"url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/comments/25014115","id":25014115,"diff_hunk":"@@ -547,43 +556,52 @@ rollAndPitchTrims_t *angleTrim, rxConfig_t *rxConfig)\n #endif\n \n #ifdef AUTOTUNE\n-            if (shouldAutotune()) {\n+            if (shouldAutotune())\n+            {\n                 error = DEGREES_TO_DECIDEGREES(autotune(rcAliasToAngleIndexMap[axis], &inclination, DECIDEGREES_TO_DEGREES(error)));\n             }\n #endif\n             PTermACC = error * (float)pidProfile->P8[PIDLEVEL] * 0.008f;\n             tmp0flt = (float)pidProfile->D8[PIDLEVEL] * 5.0f;","path":"src/main/flight/pid.c","position":76,"original_position":76,"commit_id":"efaefb7919cf3b745ae9fa2666c605f844c3617a","original_commit_id":"efaefb7919cf3b745ae9fa2666c605f844c3617a","user":{"login":"MJ666","id":8107952,"avatar_url":"https://avatars.githubusercontent.com/u/8107952?v=3","gravatar_id":"","url":"https://api.github.com/users/MJ666","html_url":"https://github.com/MJ666","followers_url":"https://api.github.com/users/MJ666/followers","following_url":"https://api.github.com/users/MJ666/following{/other_user}","gists_url":"https://api.github.com/users/MJ666/gists{/gist_id}","starred_url":"https://api.github.com/users/MJ666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MJ666/subscriptions","organizations_url":"https://api.github.com/users/MJ666/orgs","repos_url":"https://api.github.com/users/MJ666/repos","events_url":"https://api.github.com/users/MJ666/events{/privacy}","received_events_url":"https://api.github.com/users/MJ666/received_events","type":"User","site_admin":false},"body":"I will update #526 accordingly and commit this after flight testing.","created_at":"2015-02-19T18:58:32Z","updated_at":"2015-02-19T18:58:32Z","html_url":"https://github.com/cleanflight/cleanflight/pull/524#discussion_r25014115","pull_request_url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/524","_links":{"self":{"href":"https://api.github.com/repos/cleanflight/cleanflight/pulls/comments/25014115"},"html":{"href":"https://github.com/cleanflight/cleanflight/pull/524#discussion_r25014115"},"pull_request":{"href":"https://api.github.com/repos/cleanflight/cleanflight/pulls/524"}}},"pull_request":{"url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/524","id":29587630,"html_url":"https://github.com/cleanflight/cleanflight/pull/524","diff_url":"https://github.com/cleanflight/cleanflight/pull/524.diff","patch_url":"https://github.com/cleanflight/cleanflight/pull/524.patch","issue_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/524","number":524,"state":"open","locked":false,"title":"Update pid.c #5 / harakiri","user":{"login":"Crashpilot1000","id":3592196,"avatar_url":"https://avatars.githubusercontent.com/u/3592196?v=3","gravatar_id":"","url":"https://api.github.com/users/Crashpilot1000","html_url":"https://github.com/Crashpilot1000","followers_url":"https://api.github.com/users/Crashpilot1000/followers","following_url":"https://api.github.com/users/Crashpilot1000/following{/other_user}","gists_url":"https://api.github.com/users/Crashpilot1000/gists{/gist_id}","starred_url":"https://api.github.com/users/Crashpilot1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crashpilot1000/subscriptions","organizations_url":"https://api.github.com/users/Crashpilot1000/orgs","repos_url":"https://api.github.com/users/Crashpilot1000/repos","events_url":"https://api.github.com/users/Crashpilot1000/events{/privacy}","received_events_url":"https://api.github.com/users/Crashpilot1000/received_events","type":"User","site_admin":false},"body":"Didn't test it. Harakiri Pid probably repaired.","created_at":"2015-02-19T05:11:33Z","updated_at":"2015-02-19T18:58:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"54bc62fd69d918b7f4c5db04589b2afa5618fbf6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/524/commits","review_comments_url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/524/comments","review_comment_url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/524/comments","statuses_url":"https://api.github.com/repos/cleanflight/cleanflight/statuses/efaefb7919cf3b745ae9fa2666c605f844c3617a","head":{"label":"Crashpilot1000:master","ref":"master","sha":"efaefb7919cf3b745ae9fa2666c605f844c3617a","user":{"login":"Crashpilot1000","id":3592196,"avatar_url":"https://avatars.githubusercontent.com/u/3592196?v=3","gravatar_id":"","url":"https://api.github.com/users/Crashpilot1000","html_url":"https://github.com/Crashpilot1000","followers_url":"https://api.github.com/users/Crashpilot1000/followers","following_url":"https://api.github.com/users/Crashpilot1000/following{/other_user}","gists_url":"https://api.github.com/users/Crashpilot1000/gists{/gist_id}","starred_url":"https://api.github.com/users/Crashpilot1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crashpilot1000/subscriptions","organizations_url":"https://api.github.com/users/Crashpilot1000/orgs","repos_url":"https://api.github.com/users/Crashpilot1000/repos","events_url":"https://api.github.com/users/Crashpilot1000/events{/privacy}","received_events_url":"https://api.github.com/users/Crashpilot1000/received_events","type":"User","site_admin":false},"repo":{"id":30972021,"name":"cleanflight","full_name":"Crashpilot1000/cleanflight","owner":{"login":"Crashpilot1000","id":3592196,"avatar_url":"https://avatars.githubusercontent.com/u/3592196?v=3","gravatar_id":"","url":"https://api.github.com/users/Crashpilot1000","html_url":"https://github.com/Crashpilot1000","followers_url":"https://api.github.com/users/Crashpilot1000/followers","following_url":"https://api.github.com/users/Crashpilot1000/following{/other_user}","gists_url":"https://api.github.com/users/Crashpilot1000/gists{/gist_id}","starred_url":"https://api.github.com/users/Crashpilot1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crashpilot1000/subscriptions","organizations_url":"https://api.github.com/users/Crashpilot1000/orgs","repos_url":"https://api.github.com/users/Crashpilot1000/repos","events_url":"https://api.github.com/users/Crashpilot1000/events{/privacy}","received_events_url":"https://api.github.com/users/Crashpilot1000/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Crashpilot1000/cleanflight","description":"Clean-code version of the baseflight flight controller firmware","fork":true,"url":"https://api.github.com/repos/Crashpilot1000/cleanflight","forks_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/forks","keys_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/teams","hooks_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/hooks","issue_events_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/issues/events{/number}","events_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/events","assignees_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/assignees{/user}","branches_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/branches{/branch}","tags_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/tags","blobs_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/git/refs{/sha}","trees_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/statuses/{sha}","languages_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/languages","stargazers_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/stargazers","contributors_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/contributors","subscribers_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/subscribers","subscription_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/subscription","commits_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/commits{/sha}","git_commits_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/git/commits{/sha}","comments_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/comments{/number}","issue_comment_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/issues/comments/{number}","contents_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/contents/{+path}","compare_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/merges","archive_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/downloads","issues_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/issues{/number}","pulls_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/pulls{/number}","milestones_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/milestones{/number}","notifications_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/labels{/name}","releases_url":"https://api.github.com/repos/Crashpilot1000/cleanflight/releases{/id}","created_at":"2015-02-18T15:42:47Z","updated_at":"2015-02-19T07:10:36Z","pushed_at":"2015-02-19T07:10:36Z","git_url":"git://github.com/Crashpilot1000/cleanflight.git","ssh_url":"git@github.com:Crashpilot1000/cleanflight.git","clone_url":"https://github.com/Crashpilot1000/cleanflight.git","svn_url":"https://github.com/Crashpilot1000/cleanflight","homepage":"http://cleanflight.com","size":29792,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"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":"e554f73f5cef824830054c96bff1baeba6fac692","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}","created_at":"2013-03-27T23:49:19Z","updated_at":"2015-02-19T00:17:26Z","pushed_at":"2015-02-19T16:16:00Z","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":48845,"stargazers_count":176,"watchers_count":176,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":124,"mirror_url":null,"open_issues_count":186,"forks":124,"open_issues":186,"watchers":176,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cleanflight/cleanflight/pulls/524"},"html":{"href":"https://github.com/cleanflight/cleanflight/pull/524"},"issue":{"href":"https://api.github.com/repos/cleanflight/cleanflight/issues/524"},"comments":{"href":"https://api.github.com/repos/cleanflight/cleanflight/issues/524/comments"},"review_comments":{"href":"https://api.github.com/repos/cleanflight/cleanflight/pulls/524/comments"},"review_comment":{"href":"https://api.github.com/repos/cleanflight/cleanflight/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cleanflight/cleanflight/pulls/524/commits"},"statuses":{"href":"https://api.github.com/repos/cleanflight/cleanflight/statuses/efaefb7919cf3b745ae9fa2666c605f844c3617a"}}}}