{"action":"created","comment":{"url":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/comments/73233803","id":73233803,"diff_hunk":"@@ -297,10 +297,12 @@ var MSP = {\n                 CONFIG.mode = data.getUint32(6, 1);\n                 CONFIG.profile = data.getUint8(10);\n                 CONFIG.cpuload = data.getUint16(11, 1);\n-                CONFIG.numProfiles = data.getUint8(13);\n-                CONFIG.rateProfile = data.getUint8(14);\n+                if (semver.gt(CONFIG.flightControllerVersion, \"2.9.1\")) {\n+                    CONFIG.numProfiles = data.getUint8(13);\n+                    CONFIG.rateProfile = data.getUint8(14);\n \n-                TABS.pid_tuning.checkUpdateProfile(true);\n+                    TABS.pid_tuning.checkUpdateProfile(true);","path":"js/msp.js","position":11,"original_position":11,"commit_id":"5fab9310d48351462207e6adad6a812c72ccb949","original_commit_id":"9f5cce77d89e3a735c258e576b03d6a848e0fd60","user":{"login":"mikeller","id":4742747,"avatar_url":"https://avatars.githubusercontent.com/u/4742747?v=3","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},"body":"Will fix the broken profile switching for 2.9.1 tonight.","created_at":"2016-08-02T20:45:46Z","updated_at":"2016-08-02T20:45:46Z","html_url":"https://github.com/betaflight/betaflight-configurator/pull/174#discussion_r73233803","pull_request_url":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/174","_links":{"self":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/comments/73233803"},"html":{"href":"https://github.com/betaflight/betaflight-configurator/pull/174#discussion_r73233803"},"pull_request":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/174"}}},"pull_request":{"url":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/174","id":79798137,"html_url":"https://github.com/betaflight/betaflight-configurator/pull/174","diff_url":"https://github.com/betaflight/betaflight-configurator/pull/174.diff","patch_url":"https://github.com/betaflight/betaflight-configurator/pull/174.patch","issue_url":"https://api.github.com/repos/betaflight/betaflight-configurator/issues/174","number":174,"state":"closed","locked":false,"title":"Add Support for v2.9.1 MSP PR 866 in BF","user":{"login":"borisbstyle","id":10757508,"avatar_url":"https://avatars.githubusercontent.com/u/10757508?v=3","gravatar_id":"","url":"https://api.github.com/users/borisbstyle","html_url":"https://github.com/borisbstyle","followers_url":"https://api.github.com/users/borisbstyle/followers","following_url":"https://api.github.com/users/borisbstyle/following{/other_user}","gists_url":"https://api.github.com/users/borisbstyle/gists{/gist_id}","starred_url":"https://api.github.com/users/borisbstyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borisbstyle/subscriptions","organizations_url":"https://api.github.com/users/borisbstyle/orgs","repos_url":"https://api.github.com/users/borisbstyle/repos","events_url":"https://api.github.com/users/borisbstyle/events{/privacy}","received_events_url":"https://api.github.com/users/borisbstyle/received_events","type":"User","site_admin":false},"body":"Add support for v2.9.1 maintanance release.\r\n\r\n@mikeller \r\nWhat do you think?","created_at":"2016-08-02T19:57:08Z","updated_at":"2016-08-02T20:45:46Z","closed_at":"2016-08-02T20:37:41Z","merged_at":"2016-08-02T20:37:41Z","merge_commit_sha":"71025fa8fdcd013cbe8b1d3e91169acedc24288a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/174/commits","review_comments_url":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/174/comments","review_comment_url":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/betaflight/betaflight-configurator/issues/174/comments","statuses_url":"https://api.github.com/repos/betaflight/betaflight-configurator/statuses/5fab9310d48351462207e6adad6a812c72ccb949","head":{"label":"betaflight:v2.9.1_support","ref":"v2.9.1_support","sha":"5fab9310d48351462207e6adad6a812c72ccb949","user":{"login":"betaflight","id":19597933,"avatar_url":"https://avatars.githubusercontent.com/u/19597933?v=3","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":60735171,"name":"betaflight-configurator","full_name":"betaflight/betaflight-configurator","owner":{"login":"betaflight","id":19597933,"avatar_url":"https://avatars.githubusercontent.com/u/19597933?v=3","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},"private":false,"html_url":"https://github.com/betaflight/betaflight-configurator","description":"Google chrome/chromium based configuration tool for the cleanflight firmware","fork":true,"url":"https://api.github.com/repos/betaflight/betaflight-configurator","forks_url":"https://api.github.com/repos/betaflight/betaflight-configurator/forks","keys_url":"https://api.github.com/repos/betaflight/betaflight-configurator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/betaflight/betaflight-configurator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/betaflight/betaflight-configurator/teams","hooks_url":"https://api.github.com/repos/betaflight/betaflight-configurator/hooks","issue_events_url":"https://api.github.com/repos/betaflight/betaflight-configurator/issues/events{/number}","events_url":"https://api.github.com/repos/betaflight/betaflight-configurator/events","assignees_url":"https://api.github.com/repos/betaflight/betaflight-configurator/assignees{/user}","branches_url":"https://api.github.com/repos/betaflight/betaflight-configurator/branches{/branch}","tags_url":"https://api.github.com/repos/betaflight/betaflight-configurator/tags","blobs_url":"https://api.github.com/repos/betaflight/betaflight-configurator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/betaflight/betaflight-configurator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/betaflight/betaflight-configurator/git/refs{/sha}","trees_url":"https://api.github.com/repos/betaflight/betaflight-configurator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/betaflight/betaflight-configurator/statuses/{sha}","languages_url":"https://api.github.com/repos/betaflight/betaflight-configurator/languages","stargazers_url":"https://api.github.com/repos/betaflight/betaflight-configurator/stargazers","contributors_url":"https://api.github.com/repos/betaflight/betaflight-configurator/contributors","subscribers_url":"https://api.github.com/repos/betaflight/betaflight-configurator/subscribers","subscription_url":"https://api.github.com/repos/betaflight/betaflight-configurator/subscription","commits_url":"https://api.github.com/repos/betaflight/betaflight-configurator/commits{/sha}","git_commits_url":"https://api.github.com/repos/betaflight/betaflight-configurator/git/commits{/sha}","comments_url":"https://api.github.com/repos/betaflight/betaflight-configurator/comments{/number}","issue_comment_url":"https://api.github.com/repos/betaflight/betaflight-configurator/issues/comments{/number}","contents_url":"https://api.github.com/repos/betaflight/betaflight-configurator/contents/{+path}","compare_url":"https://api.github.com/repos/betaflight/betaflight-configurator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/betaflight/betaflight-configurator/merges","archive_url":"https://api.github.com/repos/betaflight/betaflight-configurator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/betaflight/betaflight-configurator/downloads","issues_url":"https://api.github.com/repos/betaflight/betaflight-configurator/issues{/number}","pulls_url":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls{/number}","milestones_url":"https://api.github.com/repos/betaflight/betaflight-configurator/milestones{/number}","notifications_url":"https://api.github.com/repos/betaflight/betaflight-configurator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/betaflight/betaflight-configurator/labels{/name}","releases_url":"https://api.github.com/repos/betaflight/betaflight-configurator/releases{/id}","deployments_url":"https://api.github.com/repos/betaflight/betaflight-configurator/deployments","created_at":"2016-06-08T22:32:34Z","updated_at":"2016-07-30T13:10:48Z","pushed_at":"2016-08-02T20:45:21Z","git_url":"git://github.com/betaflight/betaflight-configurator.git","ssh_url":"git@github.com:betaflight/betaflight-configurator.git","clone_url":"https://github.com/betaflight/betaflight-configurator.git","svn_url":"https://github.com/betaflight/betaflight-configurator","homepage":"","size":21047,"stargazers_count":28,"watchers_count":28,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":19,"forks":14,"open_issues":19,"watchers":28,"default_branch":"master"}},"base":{"label":"betaflight:master","ref":"master","sha":"33f14df10d13c15285315c1bba15b21ef853f5eb","user":{"login":"betaflight","id":19597933,"avatar_url":"https://avatars.githubusercontent.com/u/19597933?v=3","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":60735171,"name":"betaflight-configurator","full_name":"betaflight/betaflight-configurator","owner":{"login":"betaflight","id":19597933,"avatar_url":"https://avatars.githubusercontent.com/u/19597933?v=3","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},"private":false,"html_url":"https://github.com/betaflight/betaflight-configurator","description":"Google chrome/chromium based configuration tool for the cleanflight firmware","fork":true,"url":"https://api.github.com/repos/betaflight/betaflight-configurator","forks_url":"https://api.github.com/repos/betaflight/betaflight-configurator/forks","keys_url":"https://api.github.com/repos/betaflight/betaflight-configurator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/betaflight/betaflight-configurator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/betaflight/betaflight-configurator/teams","hooks_url":"https://api.github.com/repos/betaflight/betaflight-configurator/hooks","issue_events_url":"https://api.github.com/repos/betaflight/betaflight-configurator/issues/events{/number}","events_url":"https://api.github.com/repos/betaflight/betaflight-configurator/events","assignees_url":"https://api.github.com/repos/betaflight/betaflight-configurator/assignees{/user}","branches_url":"https://api.github.com/repos/betaflight/betaflight-configurator/branches{/branch}","tags_url":"https://api.github.com/repos/betaflight/betaflight-configurator/tags","blobs_url":"https://api.github.com/repos/betaflight/betaflight-configurator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/betaflight/betaflight-configurator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/betaflight/betaflight-configurator/git/refs{/sha}","trees_url":"https://api.github.com/repos/betaflight/betaflight-configurator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/betaflight/betaflight-configurator/statuses/{sha}","languages_url":"https://api.github.com/repos/betaflight/betaflight-configurator/languages","stargazers_url":"https://api.github.com/repos/betaflight/betaflight-configurator/stargazers","contributors_url":"https://api.github.com/repos/betaflight/betaflight-configurator/contributors","subscribers_url":"https://api.github.com/repos/betaflight/betaflight-configurator/subscribers","subscription_url":"https://api.github.com/repos/betaflight/betaflight-configurator/subscription","commits_url":"https://api.github.com/repos/betaflight/betaflight-configurator/commits{/sha}","git_commits_url":"https://api.github.com/repos/betaflight/betaflight-configurator/git/commits{/sha}","comments_url":"https://api.github.com/repos/betaflight/betaflight-configurator/comments{/number}","issue_comment_url":"https://api.github.com/repos/betaflight/betaflight-configurator/issues/comments{/number}","contents_url":"https://api.github.com/repos/betaflight/betaflight-configurator/contents/{+path}","compare_url":"https://api.github.com/repos/betaflight/betaflight-configurator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/betaflight/betaflight-configurator/merges","archive_url":"https://api.github.com/repos/betaflight/betaflight-configurator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/betaflight/betaflight-configurator/downloads","issues_url":"https://api.github.com/repos/betaflight/betaflight-configurator/issues{/number}","pulls_url":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls{/number}","milestones_url":"https://api.github.com/repos/betaflight/betaflight-configurator/milestones{/number}","notifications_url":"https://api.github.com/repos/betaflight/betaflight-configurator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/betaflight/betaflight-configurator/labels{/name}","releases_url":"https://api.github.com/repos/betaflight/betaflight-configurator/releases{/id}","deployments_url":"https://api.github.com/repos/betaflight/betaflight-configurator/deployments","created_at":"2016-06-08T22:32:34Z","updated_at":"2016-07-30T13:10:48Z","pushed_at":"2016-08-02T20:45:21Z","git_url":"git://github.com/betaflight/betaflight-configurator.git","ssh_url":"git@github.com:betaflight/betaflight-configurator.git","clone_url":"https://github.com/betaflight/betaflight-configurator.git","svn_url":"https://github.com/betaflight/betaflight-configurator","homepage":"","size":21047,"stargazers_count":28,"watchers_count":28,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":19,"forks":14,"open_issues":19,"watchers":28,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/174"},"html":{"href":"https://github.com/betaflight/betaflight-configurator/pull/174"},"issue":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/issues/174"},"comments":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/issues/174/comments"},"review_comments":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/174/comments"},"review_comment":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/pulls/174/commits"},"statuses":{"href":"https://api.github.com/repos/betaflight/betaflight-configurator/statuses/5fab9310d48351462207e6adad6a812c72ccb949"}}}}
{"actor":{"display_login":"mikeller"}}