{"action":"created","comment":{"url":"https://api.github.com/repos/betaflight/betaflight/pulls/comments/232630166","pull_request_review_id":173866623,"id":232630166,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjYzMDE2Ng==","diff_hunk":"@@ -221,7 +223,29 @@ static const adjustmentConfig_t defaultAdjustmentConfigs[ADJUSTMENT_FUNCTION_COU\n         .adjustmentFunction = ADJUSTMENT_HORIZON_STRENGTH,\n         .mode = ADJUSTMENT_MODE_SELECT,\n         .data = { .switchPositions = 255 }\n+    },\n+#ifdef USE_OSD_PROFILES\n+    // the entries below are required because the entry for ADJUSTMENT_OSD_PROFILE below must\n+    // correspond with its position in the adjustmentFunction_e enum.\n+    {","path":"src/main/fc/rc_adjustments.c","position":null,"original_position":24,"commit_id":"791b8ce7b409872dddc37dde7a8e1c6d1401f1df","original_commit_id":"ac0afabb37d08e4f224b667fb9edb18d257904df","user":{"login":"pkruger","id":1901127,"node_id":"MDQ6VXNlcjE5MDExMjc=","avatar_url":"https://avatars0.githubusercontent.com/u/1901127?v=4","gravatar_id":"","url":"https://api.github.com/users/pkruger","html_url":"https://github.com/pkruger","followers_url":"https://api.github.com/users/pkruger/followers","following_url":"https://api.github.com/users/pkruger/following{/other_user}","gists_url":"https://api.github.com/users/pkruger/gists{/gist_id}","starred_url":"https://api.github.com/users/pkruger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkruger/subscriptions","organizations_url":"https://api.github.com/users/pkruger/orgs","repos_url":"https://api.github.com/users/pkruger/repos","events_url":"https://api.github.com/users/pkruger/events{/privacy}","received_events_url":"https://api.github.com/users/pkruger/received_events","type":"User","site_admin":false},"body":"@mikeller Another question.  I have noticed in my testing that get osd_profile index in the CLI returns:\r\n\r\n# get osd_profile\r\nosd_profile = 1\r\nAllowed range: 1 - 3\r\nDefault value: 0 ###CORRUPTED CONFIG###\r\n\r\nI want to make the default 1, but cannot find where to specify this.  For most osd elements it is 234, but I cannot find how to specify this.  Can you or someone please point me in the right direction?  Thank you.","created_at":"2018-11-12T11:55:59Z","updated_at":"2018-11-12T11:56:00Z","html_url":"https://github.com/betaflight/betaflight/pull/6714#discussion_r232630166","pull_request_url":"https://api.github.com/repos/betaflight/betaflight/pulls/6714","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/betaflight/betaflight/pulls/comments/232630166"},"html":{"href":"https://github.com/betaflight/betaflight/pull/6714#discussion_r232630166"},"pull_request":{"href":"https://api.github.com/repos/betaflight/betaflight/pulls/6714"}},"in_reply_to_id":232485278},"pull_request":{"url":"https://api.github.com/repos/betaflight/betaflight/pulls/6714","id":214126503,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MTI2NTAz","html_url":"https://github.com/betaflight/betaflight/pull/6714","diff_url":"https://github.com/betaflight/betaflight/pull/6714.diff","patch_url":"https://github.com/betaflight/betaflight/pull/6714.patch","issue_url":"https://api.github.com/repos/betaflight/betaflight/issues/6714","number":6714,"state":"open","locked":false,"title":"4155 feature for osd elements on a switch","user":{"login":"pkruger","id":1901127,"node_id":"MDQ6VXNlcjE5MDExMjc=","avatar_url":"https://avatars0.githubusercontent.com/u/1901127?v=4","gravatar_id":"","url":"https://api.github.com/users/pkruger","html_url":"https://github.com/pkruger","followers_url":"https://api.github.com/users/pkruger/followers","following_url":"https://api.github.com/users/pkruger/following{/other_user}","gists_url":"https://api.github.com/users/pkruger/gists{/gist_id}","starred_url":"https://api.github.com/users/pkruger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkruger/subscriptions","organizations_url":"https://api.github.com/users/pkruger/orgs","repos_url":"https://api.github.com/users/pkruger/repos","events_url":"https://api.github.com/users/pkruger/events{/privacy}","received_events_url":"https://api.github.com/users/pkruger/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-09T03:54:01Z","updated_at":"2018-11-12T11:56:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4d94536c26257672cc9704108435a118b7577beb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":664778578,"node_id":"MDU6TGFiZWw2NjQ3Nzg1Nzg=","url":"https://api.github.com/repos/betaflight/betaflight/labels/RN:%20MAJOR%20FEATURE","name":"RN: MAJOR FEATURE","color":"0e8a16","default":false}],"milestone":{"url":"https://api.github.com/repos/betaflight/betaflight/milestones/20","html_url":"https://github.com/betaflight/betaflight/milestone/20","labels_url":"https://api.github.com/repos/betaflight/betaflight/milestones/20/labels","id":3370188,"node_id":"MDk6TWlsZXN0b25lMzM3MDE4OA==","number":20,"title":"4.0","description":"","creator":{"login":"mikeller","id":4742747,"node_id":"MDQ6VXNlcjQ3NDI3NDc=","avatar_url":"https://avatars1.githubusercontent.com/u/4742747?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeller","html_url":"https://github.com/mikeller","followers_url":"https://api.github.com/users/mikeller/followers","following_url":"https://api.github.com/users/mikeller/following{/other_user}","gists_url":"https://api.github.com/users/mikeller/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeller/subscriptions","organizations_url":"https://api.github.com/users/mikeller/orgs","repos_url":"https://api.github.com/users/mikeller/repos","events_url":"https://api.github.com/users/mikeller/events{/privacy}","received_events_url":"https://api.github.com/users/mikeller/received_events","type":"User","site_admin":false},"open_issues":46,"closed_issues":194,"state":"open","created_at":"2018-05-23T21:17:48Z","updated_at":"2018-11-12T11:25:45Z","due_on":"2019-01-01T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/betaflight/betaflight/pulls/6714/commits","review_comments_url":"https://api.github.com/repos/betaflight/betaflight/pulls/6714/comments","review_comment_url":"https://api.github.com/repos/betaflight/betaflight/pulls/comments{/number}","comments_url":"https://api.github.com/repos/betaflight/betaflight/issues/6714/comments","statuses_url":"https://api.github.com/repos/betaflight/betaflight/statuses/791b8ce7b409872dddc37dde7a8e1c6d1401f1df","head":{"label":"pkruger:4155-feature-for-osd-elements-on-a-switch","ref":"4155-feature-for-osd-elements-on-a-switch","sha":"791b8ce7b409872dddc37dde7a8e1c6d1401f1df","user":{"login":"pkruger","id":1901127,"node_id":"MDQ6VXNlcjE5MDExMjc=","avatar_url":"https://avatars0.githubusercontent.com/u/1901127?v=4","gravatar_id":"","url":"https://api.github.com/users/pkruger","html_url":"https://github.com/pkruger","followers_url":"https://api.github.com/users/pkruger/followers","following_url":"https://api.github.com/users/pkruger/following{/other_user}","gists_url":"https://api.github.com/users/pkruger/gists{/gist_id}","starred_url":"https://api.github.com/users/pkruger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkruger/subscriptions","organizations_url":"https://api.github.com/users/pkruger/orgs","repos_url":"https://api.github.com/users/pkruger/repos","events_url":"https://api.github.com/users/pkruger/events{/privacy}","received_events_url":"https://api.github.com/users/pkruger/received_events","type":"User","site_admin":false},"repo":{"id":145848829,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4NDg4Mjk=","name":"betaflight","full_name":"pkruger/betaflight","private":false,"owner":{"login":"pkruger","id":1901127,"node_id":"MDQ6VXNlcjE5MDExMjc=","avatar_url":"https://avatars0.githubusercontent.com/u/1901127?v=4","gravatar_id":"","url":"https://api.github.com/users/pkruger","html_url":"https://github.com/pkruger","followers_url":"https://api.github.com/users/pkruger/followers","following_url":"https://api.github.com/users/pkruger/following{/other_user}","gists_url":"https://api.github.com/users/pkruger/gists{/gist_id}","starred_url":"https://api.github.com/users/pkruger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkruger/subscriptions","organizations_url":"https://api.github.com/users/pkruger/orgs","repos_url":"https://api.github.com/users/pkruger/repos","events_url":"https://api.github.com/users/pkruger/events{/privacy}","received_events_url":"https://api.github.com/users/pkruger/received_events","type":"User","site_admin":false},"html_url":"https://github.com/pkruger/betaflight","description":"Open Source Flight Controller Firmware","fork":true,"url":"https://api.github.com/repos/pkruger/betaflight","forks_url":"https://api.github.com/repos/pkruger/betaflight/forks","keys_url":"https://api.github.com/repos/pkruger/betaflight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pkruger/betaflight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pkruger/betaflight/teams","hooks_url":"https://api.github.com/repos/pkruger/betaflight/hooks","issue_events_url":"https://api.github.com/repos/pkruger/betaflight/issues/events{/number}","events_url":"https://api.github.com/repos/pkruger/betaflight/events","assignees_url":"https://api.github.com/repos/pkruger/betaflight/assignees{/user}","branches_url":"https://api.github.com/repos/pkruger/betaflight/branches{/branch}","tags_url":"https://api.github.com/repos/pkruger/betaflight/tags","blobs_url":"https://api.github.com/repos/pkruger/betaflight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pkruger/betaflight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pkruger/betaflight/git/refs{/sha}","trees_url":"https://api.github.com/repos/pkruger/betaflight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pkruger/betaflight/statuses/{sha}","languages_url":"https://api.github.com/repos/pkruger/betaflight/languages","stargazers_url":"https://api.github.com/repos/pkruger/betaflight/stargazers","contributors_url":"https://api.github.com/repos/pkruger/betaflight/contributors","subscribers_url":"https://api.github.com/repos/pkruger/betaflight/subscribers","subscription_url":"https://api.github.com/repos/pkruger/betaflight/subscription","commits_url":"https://api.github.com/repos/pkruger/betaflight/commits{/sha}","git_commits_url":"https://api.github.com/repos/pkruger/betaflight/git/commits{/sha}","comments_url":"https://api.github.com/repos/pkruger/betaflight/comments{/number}","issue_comment_url":"https://api.github.com/repos/pkruger/betaflight/issues/comments{/number}","contents_url":"https://api.github.com/repos/pkruger/betaflight/contents/{+path}","compare_url":"https://api.github.com/repos/pkruger/betaflight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pkruger/betaflight/merges","archive_url":"https://api.github.com/repos/pkruger/betaflight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pkruger/betaflight/downloads","issues_url":"https://api.github.com/repos/pkruger/betaflight/issues{/number}","pulls_url":"https://api.github.com/repos/pkruger/betaflight/pulls{/number}","milestones_url":"https://api.github.com/repos/pkruger/betaflight/milestones{/number}","notifications_url":"https://api.github.com/repos/pkruger/betaflight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pkruger/betaflight/labels{/name}","releases_url":"https://api.github.com/repos/pkruger/betaflight/releases{/id}","deployments_url":"https://api.github.com/repos/pkruger/betaflight/deployments","created_at":"2018-08-23T12:13:44Z","updated_at":"2018-10-20T01:22:10Z","pushed_at":"2018-11-12T11:50:30Z","git_url":"git://github.com/pkruger/betaflight.git","ssh_url":"git@github.com:pkruger/betaflight.git","clone_url":"https://github.com/pkruger/betaflight.git","svn_url":"https://github.com/pkruger/betaflight","homepage":"","size":233214,"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,"archived":false,"open_issues_count":1,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"betaflight:master","ref":"master","sha":"00e53dbc466cd947a76da892e3d26f23e614dca4","user":{"login":"betaflight","id":19597933,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NTk3OTMz","avatar_url":"https://avatars1.githubusercontent.com/u/19597933?v=4","gravatar_id":"","url":"https://api.github.com/users/betaflight","html_url":"https://github.com/betaflight","followers_url":"https://api.github.com/users/betaflight/followers","following_url":"https://api.github.com/users/betaflight/following{/other_user}","gists_url":"https://api.github.com/users/betaflight/gists{/gist_id}","starred_url":"https://api.github.com/users/betaflight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betaflight/subscriptions","organizations_url":"https://api.github.com/users/betaflight/orgs","repos_url":"https://api.github.com/users/betaflight/repos","events_url":"https://api.github.com/users/betaflight/events{/privacy}","received_events_url":"https://api.github.com/users/betaflight/received_events","type":"Organization","site_admin":false},"repo":{"id":37060852,"node_id":"MDEwOlJlcG9zaXRvcnkzNzA2MDg1Mg==","name":"betaflight","full_name":"betaflight/betaflight","private":false,"owner":{"login":"betaflight","id":19597933,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5NTk3OTMz","avatar_url":"https://avatars1.githubusercontent.com/u/19597933?v=4","gravatar_id":"","url":"https://api.github.com/users/betaflight","html_url":"https://github.com/betaflight","followers_url":"https://api.github.com/users/betaflight/followers","following_url":"https://api.github.com/users/betaflight/following{/other_user}","gists_url":"https://api.github.com/users/betaflight/gists{/gist_id}","starred_url":"https://api.github.com/users/betaflight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betaflight/subscriptions","organizations_url":"https://api.github.com/users/betaflight/orgs","repos_url":"https://api.github.com/users/betaflight/repos","events_url":"https://api.github.com/users/betaflight/events{/privacy}","received_events_url":"https://api.github.com/users/betaflight/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/betaflight/betaflight","description":"Open Source Flight Controller Firmware","fork":false,"url":"https://api.github.com/repos/betaflight/betaflight","forks_url":"https://api.github.com/repos/betaflight/betaflight/forks","keys_url":"https://api.github.com/repos/betaflight/betaflight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/betaflight/betaflight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/betaflight/betaflight/teams","hooks_url":"https://api.github.com/repos/betaflight/betaflight/hooks","issue_events_url":"https://api.github.com/repos/betaflight/betaflight/issues/events{/number}","events_url":"https://api.github.com/repos/betaflight/betaflight/events","assignees_url":"https://api.github.com/repos/betaflight/betaflight/assignees{/user}","branches_url":"https://api.github.com/repos/betaflight/betaflight/branches{/branch}","tags_url":"https://api.github.com/repos/betaflight/betaflight/tags","blobs_url":"https://api.github.com/repos/betaflight/betaflight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/betaflight/betaflight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/betaflight/betaflight/git/refs{/sha}","trees_url":"https://api.github.com/repos/betaflight/betaflight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/betaflight/betaflight/statuses/{sha}","languages_url":"https://api.github.com/repos/betaflight/betaflight/languages","stargazers_url":"https://api.github.com/repos/betaflight/betaflight/stargazers","contributors_url":"https://api.github.com/repos/betaflight/betaflight/contributors","subscribers_url":"https://api.github.com/repos/betaflight/betaflight/subscribers","subscription_url":"https://api.github.com/repos/betaflight/betaflight/subscription","commits_url":"https://api.github.com/repos/betaflight/betaflight/commits{/sha}","git_commits_url":"https://api.github.com/repos/betaflight/betaflight/git/commits{/sha}","comments_url":"https://api.github.com/repos/betaflight/betaflight/comments{/number}","issue_comment_url":"https://api.github.com/repos/betaflight/betaflight/issues/comments{/number}","contents_url":"https://api.github.com/repos/betaflight/betaflight/contents/{+path}","compare_url":"https://api.github.com/repos/betaflight/betaflight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/betaflight/betaflight/merges","archive_url":"https://api.github.com/repos/betaflight/betaflight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/betaflight/betaflight/downloads","issues_url":"https://api.github.com/repos/betaflight/betaflight/issues{/number}","pulls_url":"https://api.github.com/repos/betaflight/betaflight/pulls{/number}","milestones_url":"https://api.github.com/repos/betaflight/betaflight/milestones{/number}","notifications_url":"https://api.github.com/repos/betaflight/betaflight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/betaflight/betaflight/labels{/name}","releases_url":"https://api.github.com/repos/betaflight/betaflight/releases{/id}","deployments_url":"https://api.github.com/repos/betaflight/betaflight/deployments","created_at":"2015-06-08T10:37:44Z","updated_at":"2018-11-12T09:13:14Z","pushed_at":"2018-11-12T11:54:43Z","git_url":"git://github.com/betaflight/betaflight.git","ssh_url":"git@github.com:betaflight/betaflight.git","clone_url":"https://github.com/betaflight/betaflight.git","svn_url":"https://github.com/betaflight/betaflight","homepage":"","size":233467,"stargazers_count":2163,"watchers_count":2163,"language":"C","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1056,"mirror_url":null,"archived":false,"open_issues_count":203,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0","node_id":"MDc6TGljZW5zZTk="},"forks":1056,"open_issues":203,"watchers":2163,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/betaflight/betaflight/pulls/6714"},"html":{"href":"https://github.com/betaflight/betaflight/pull/6714"},"issue":{"href":"https://api.github.com/repos/betaflight/betaflight/issues/6714"},"comments":{"href":"https://api.github.com/repos/betaflight/betaflight/issues/6714/comments"},"review_comments":{"href":"https://api.github.com/repos/betaflight/betaflight/pulls/6714/comments"},"review_comment":{"href":"https://api.github.com/repos/betaflight/betaflight/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/betaflight/betaflight/pulls/6714/commits"},"statuses":{"href":"https://api.github.com/repos/betaflight/betaflight/statuses/791b8ce7b409872dddc37dde7a8e1c6d1401f1df"}},"author_association":"NONE"}}
{"actor":{"display_login":"pkruger"}}