{"action":"created","comment":{"url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/comments/30349444","id":30349444,"diff_hunk":"@@ -723,44 +725,54 @@ void activateConfig(void)\n #endif\n }\n \n-void validateAndFixConfig(void)\n+static void featureValidateSet(uint32_t mask)","path":"src/main/config/config.c","position":17,"original_position":17,"commit_id":"e6c12b77c57950f8e9dfd33814d0b26a61ed6dc9","original_commit_id":"e6c12b77c57950f8e9dfd33814d0b26a61ed6dc9","user":{"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},"body":"Not sure about the name, perhaps featureEnabledSet(), featureRequestedSet() instead of featureSet.","created_at":"2015-05-14T18:41:49Z","updated_at":"2015-05-14T18:41:49Z","html_url":"https://github.com/cleanflight/cleanflight/pull/893#discussion_r30349444","pull_request_url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/893","_links":{"self":{"href":"https://api.github.com/repos/cleanflight/cleanflight/pulls/comments/30349444"},"html":{"href":"https://github.com/cleanflight/cleanflight/pull/893#discussion_r30349444"},"pull_request":{"href":"https://api.github.com/repos/cleanflight/cleanflight/pulls/893"}}},"pull_request":{"url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/893","id":35446962,"html_url":"https://github.com/cleanflight/cleanflight/pull/893","diff_url":"https://github.com/cleanflight/cleanflight/pull/893.diff","patch_url":"https://github.com/cleanflight/cleanflight/pull/893.patch","issue_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/893","number":893,"state":"open","locked":false,"title":"Latch feature changes until reboot","user":{"login":"ProDrone","id":7206988,"avatar_url":"https://avatars.githubusercontent.com/u/7206988?v=3","gravatar_id":"","url":"https://api.github.com/users/ProDrone","html_url":"https://github.com/ProDrone","followers_url":"https://api.github.com/users/ProDrone/followers","following_url":"https://api.github.com/users/ProDrone/following{/other_user}","gists_url":"https://api.github.com/users/ProDrone/gists{/gist_id}","starred_url":"https://api.github.com/users/ProDrone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProDrone/subscriptions","organizations_url":"https://api.github.com/users/ProDrone/orgs","repos_url":"https://api.github.com/users/ProDrone/repos","events_url":"https://api.github.com/users/ProDrone/events{/privacy}","received_events_url":"https://api.github.com/users/ProDrone/received_events","type":"User","site_admin":false},"body":"This is to resolve issue #358 including the delay for oneshot feature changes on reboot.","created_at":"2015-05-14T18:19:56Z","updated_at":"2015-05-14T18:41:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c5a8a5da0d19b47e955c747bb7dc6fd787b915f8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/893/commits","review_comments_url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/893/comments","review_comment_url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/893/comments","statuses_url":"https://api.github.com/repos/cleanflight/cleanflight/statuses/e6c12b77c57950f8e9dfd33814d0b26a61ed6dc9","head":{"label":"ProDrone:latch_feature_changes","ref":"latch_feature_changes","sha":"e6c12b77c57950f8e9dfd33814d0b26a61ed6dc9","user":{"login":"ProDrone","id":7206988,"avatar_url":"https://avatars.githubusercontent.com/u/7206988?v=3","gravatar_id":"","url":"https://api.github.com/users/ProDrone","html_url":"https://github.com/ProDrone","followers_url":"https://api.github.com/users/ProDrone/followers","following_url":"https://api.github.com/users/ProDrone/following{/other_user}","gists_url":"https://api.github.com/users/ProDrone/gists{/gist_id}","starred_url":"https://api.github.com/users/ProDrone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProDrone/subscriptions","organizations_url":"https://api.github.com/users/ProDrone/orgs","repos_url":"https://api.github.com/users/ProDrone/repos","events_url":"https://api.github.com/users/ProDrone/events{/privacy}","received_events_url":"https://api.github.com/users/ProDrone/received_events","type":"User","site_admin":false},"repo":{"id":20747081,"name":"cleanflight","full_name":"ProDrone/cleanflight","owner":{"login":"ProDrone","id":7206988,"avatar_url":"https://avatars.githubusercontent.com/u/7206988?v=3","gravatar_id":"","url":"https://api.github.com/users/ProDrone","html_url":"https://github.com/ProDrone","followers_url":"https://api.github.com/users/ProDrone/followers","following_url":"https://api.github.com/users/ProDrone/following{/other_user}","gists_url":"https://api.github.com/users/ProDrone/gists{/gist_id}","starred_url":"https://api.github.com/users/ProDrone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProDrone/subscriptions","organizations_url":"https://api.github.com/users/ProDrone/orgs","repos_url":"https://api.github.com/users/ProDrone/repos","events_url":"https://api.github.com/users/ProDrone/events{/privacy}","received_events_url":"https://api.github.com/users/ProDrone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ProDrone/cleanflight","description":"Clean-code version of the baseflight flight controller","fork":true,"url":"https://api.github.com/repos/ProDrone/cleanflight","forks_url":"https://api.github.com/repos/ProDrone/cleanflight/forks","keys_url":"https://api.github.com/repos/ProDrone/cleanflight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ProDrone/cleanflight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ProDrone/cleanflight/teams","hooks_url":"https://api.github.com/repos/ProDrone/cleanflight/hooks","issue_events_url":"https://api.github.com/repos/ProDrone/cleanflight/issues/events{/number}","events_url":"https://api.github.com/repos/ProDrone/cleanflight/events","assignees_url":"https://api.github.com/repos/ProDrone/cleanflight/assignees{/user}","branches_url":"https://api.github.com/repos/ProDrone/cleanflight/branches{/branch}","tags_url":"https://api.github.com/repos/ProDrone/cleanflight/tags","blobs_url":"https://api.github.com/repos/ProDrone/cleanflight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ProDrone/cleanflight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ProDrone/cleanflight/git/refs{/sha}","trees_url":"https://api.github.com/repos/ProDrone/cleanflight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ProDrone/cleanflight/statuses/{sha}","languages_url":"https://api.github.com/repos/ProDrone/cleanflight/languages","stargazers_url":"https://api.github.com/repos/ProDrone/cleanflight/stargazers","contributors_url":"https://api.github.com/repos/ProDrone/cleanflight/contributors","subscribers_url":"https://api.github.com/repos/ProDrone/cleanflight/subscribers","subscription_url":"https://api.github.com/repos/ProDrone/cleanflight/subscription","commits_url":"https://api.github.com/repos/ProDrone/cleanflight/commits{/sha}","git_commits_url":"https://api.github.com/repos/ProDrone/cleanflight/git/commits{/sha}","comments_url":"https://api.github.com/repos/ProDrone/cleanflight/comments{/number}","issue_comment_url":"https://api.github.com/repos/ProDrone/cleanflight/issues/comments{/number}","contents_url":"https://api.github.com/repos/ProDrone/cleanflight/contents/{+path}","compare_url":"https://api.github.com/repos/ProDrone/cleanflight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ProDrone/cleanflight/merges","archive_url":"https://api.github.com/repos/ProDrone/cleanflight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ProDrone/cleanflight/downloads","issues_url":"https://api.github.com/repos/ProDrone/cleanflight/issues{/number}","pulls_url":"https://api.github.com/repos/ProDrone/cleanflight/pulls{/number}","milestones_url":"https://api.github.com/repos/ProDrone/cleanflight/milestones{/number}","notifications_url":"https://api.github.com/repos/ProDrone/cleanflight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ProDrone/cleanflight/labels{/name}","releases_url":"https://api.github.com/repos/ProDrone/cleanflight/releases{/id}","created_at":"2014-06-11T22:55:25Z","updated_at":"2015-05-07T14:20:48Z","pushed_at":"2015-05-14T18:14:16Z","git_url":"git://github.com/ProDrone/cleanflight.git","ssh_url":"git@github.com:ProDrone/cleanflight.git","clone_url":"https://github.com/ProDrone/cleanflight.git","svn_url":"https://github.com/ProDrone/cleanflight","homepage":"","size":31888,"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":"b0a5264df0d5f75f240be79eb4456364ed5cedbc","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-05-14T05:15:16Z","pushed_at":"2015-05-14T18:31:45Z","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":60080,"stargazers_count":317,"watchers_count":317,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":245,"mirror_url":null,"open_issues_count":236,"forks":245,"open_issues":236,"watchers":317,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cleanflight/cleanflight/pulls/893"},"html":{"href":"https://github.com/cleanflight/cleanflight/pull/893"},"issue":{"href":"https://api.github.com/repos/cleanflight/cleanflight/issues/893"},"comments":{"href":"https://api.github.com/repos/cleanflight/cleanflight/issues/893/comments"},"review_comments":{"href":"https://api.github.com/repos/cleanflight/cleanflight/pulls/893/comments"},"review_comment":{"href":"https://api.github.com/repos/cleanflight/cleanflight/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cleanflight/cleanflight/pulls/893/commits"},"statuses":{"href":"https://api.github.com/repos/cleanflight/cleanflight/statuses/e6c12b77c57950f8e9dfd33814d0b26a61ed6dc9"}}}}