{"action":"created","comment":{"url":"https://api.github.com/repos/PX4/Firmware/pulls/comments/22646783","id":22646783,"diff_hunk":"@@ -80,3 +94,34 @@ then\n \t\tpwm failsafe -d $OUTPUT_DEV $FAILSAFE\n \tfi\n fi\n+\n+# check if should load secondary mixer\n+if [ $MIXER_AUX != none ]\n+then\n+\t#\n+\t# Load aux mixer\n+\t#\n+\t\n+\tset MIXER_AUX_FILE none\n+\t\n+\tif [ -f $SDCARD_MIXERS_PATH/$MIXER_AUX.mix ]\n+\tthen\n+\t\tset MIXER_AUX_FILE $SDCARD_MIXERS_PATH/$MIXER_AUX.mix\n+\telse\n+\t\t\n+\t\tif [ -f /etc/mixers/$MIXER_AUX.mix ]\n+\t\tthen\n+\t\t\tset MIXER_AUX_FILE /etc/mixers/$MIXER_AUX.mix\n+\t\tfi\n+\tfi\n+\t\n+\tif [ $MIXER_AUX_FILE != none -a $FMU_MODE == pwm ]\n+\tthen\n+\t\tif fmu mode_pwm\n+\t\tthen\n+\t\t\tmixer load /dev/pwm_output1 $MIXER_AUX_FILE\n+\t\telse\n+\t\t\ttone_alarm $TUNE_ERR\n+\t\tfi\n+\tfi\n+fi","path":"ROMFS/px4fmu_common/init.d/rc.interface","position":81,"original_position":81,"commit_id":"25054d389a0d860664e2c3a67c180f8518876cbe","original_commit_id":"25054d389a0d860664e2c3a67c180f8518876cbe","user":{"login":"anton-matosov","id":3339485,"avatar_url":"https://avatars.githubusercontent.com/u/3339485?v=3","gravatar_id":"","url":"https://api.github.com/users/anton-matosov","html_url":"https://github.com/anton-matosov","followers_url":"https://api.github.com/users/anton-matosov/followers","following_url":"https://api.github.com/users/anton-matosov/following{/other_user}","gists_url":"https://api.github.com/users/anton-matosov/gists{/gist_id}","starred_url":"https://api.github.com/users/anton-matosov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anton-matosov/subscriptions","organizations_url":"https://api.github.com/users/anton-matosov/orgs","repos_url":"https://api.github.com/users/anton-matosov/repos","events_url":"https://api.github.com/users/anton-matosov/events{/privacy}","received_events_url":"https://api.github.com/users/anton-matosov/received_events","type":"User","site_admin":false},"body":"fixed","created_at":"2015-01-08T11:28:58Z","updated_at":"2015-01-08T11:28:58Z","html_url":"https://github.com/PX4/Firmware/pull/1601#discussion_r22646783","pull_request_url":"https://api.github.com/repos/PX4/Firmware/pulls/1601","_links":{"self":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/comments/22646783"},"html":{"href":"https://github.com/PX4/Firmware/pull/1601#discussion_r22646783"},"pull_request":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/1601"}}},"pull_request":{"url":"https://api.github.com/repos/PX4/Firmware/pulls/1601","id":26926111,"html_url":"https://github.com/PX4/Firmware/pull/1601","diff_url":"https://github.com/PX4/Firmware/pull/1601.diff","patch_url":"https://github.com/PX4/Firmware/pull/1601.patch","issue_url":"https://api.github.com/repos/PX4/Firmware/issues/1601","number":1601,"state":"open","locked":false,"title":"Mixer naming cleanup","user":{"login":"anton-matosov","id":3339485,"avatar_url":"https://avatars.githubusercontent.com/u/3339485?v=3","gravatar_id":"","url":"https://api.github.com/users/anton-matosov","html_url":"https://github.com/anton-matosov","followers_url":"https://api.github.com/users/anton-matosov/followers","following_url":"https://api.github.com/users/anton-matosov/following{/other_user}","gists_url":"https://api.github.com/users/anton-matosov/gists{/gist_id}","starred_url":"https://api.github.com/users/anton-matosov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anton-matosov/subscriptions","organizations_url":"https://api.github.com/users/anton-matosov/orgs","repos_url":"https://api.github.com/users/anton-matosov/repos","events_url":"https://api.github.com/users/anton-matosov/events{/privacy}","received_events_url":"https://api.github.com/users/anton-matosov/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-06T23:16:51Z","updated_at":"2015-01-08T11:28:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e3f9a64e87df95b63da91b6736bcb62259df00d6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PX4/Firmware/pulls/1601/commits","review_comments_url":"https://api.github.com/repos/PX4/Firmware/pulls/1601/comments","review_comment_url":"https://api.github.com/repos/PX4/Firmware/pulls/comments/{number}","comments_url":"https://api.github.com/repos/PX4/Firmware/issues/1601/comments","statuses_url":"https://api.github.com/repos/PX4/Firmware/statuses/25054d389a0d860664e2c3a67c180f8518876cbe","head":{"label":"anton-matosov:MixerNaming","ref":"MixerNaming","sha":"25054d389a0d860664e2c3a67c180f8518876cbe","user":{"login":"anton-matosov","id":3339485,"avatar_url":"https://avatars.githubusercontent.com/u/3339485?v=3","gravatar_id":"","url":"https://api.github.com/users/anton-matosov","html_url":"https://github.com/anton-matosov","followers_url":"https://api.github.com/users/anton-matosov/followers","following_url":"https://api.github.com/users/anton-matosov/following{/other_user}","gists_url":"https://api.github.com/users/anton-matosov/gists{/gist_id}","starred_url":"https://api.github.com/users/anton-matosov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anton-matosov/subscriptions","organizations_url":"https://api.github.com/users/anton-matosov/orgs","repos_url":"https://api.github.com/users/anton-matosov/repos","events_url":"https://api.github.com/users/anton-matosov/events{/privacy}","received_events_url":"https://api.github.com/users/anton-matosov/received_events","type":"User","site_admin":false},"repo":{"id":24786074,"name":"Firmware","full_name":"anton-matosov/Firmware","owner":{"login":"anton-matosov","id":3339485,"avatar_url":"https://avatars.githubusercontent.com/u/3339485?v=3","gravatar_id":"","url":"https://api.github.com/users/anton-matosov","html_url":"https://github.com/anton-matosov","followers_url":"https://api.github.com/users/anton-matosov/followers","following_url":"https://api.github.com/users/anton-matosov/following{/other_user}","gists_url":"https://api.github.com/users/anton-matosov/gists{/gist_id}","starred_url":"https://api.github.com/users/anton-matosov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anton-matosov/subscriptions","organizations_url":"https://api.github.com/users/anton-matosov/orgs","repos_url":"https://api.github.com/users/anton-matosov/repos","events_url":"https://api.github.com/users/anton-matosov/events{/privacy}","received_events_url":"https://api.github.com/users/anton-matosov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anton-matosov/Firmware","description":"PX4 Firmware for PX4FMU autopilot and PX4IO servo / failsafe board","fork":true,"url":"https://api.github.com/repos/anton-matosov/Firmware","forks_url":"https://api.github.com/repos/anton-matosov/Firmware/forks","keys_url":"https://api.github.com/repos/anton-matosov/Firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anton-matosov/Firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anton-matosov/Firmware/teams","hooks_url":"https://api.github.com/repos/anton-matosov/Firmware/hooks","issue_events_url":"https://api.github.com/repos/anton-matosov/Firmware/issues/events{/number}","events_url":"https://api.github.com/repos/anton-matosov/Firmware/events","assignees_url":"https://api.github.com/repos/anton-matosov/Firmware/assignees{/user}","branches_url":"https://api.github.com/repos/anton-matosov/Firmware/branches{/branch}","tags_url":"https://api.github.com/repos/anton-matosov/Firmware/tags","blobs_url":"https://api.github.com/repos/anton-matosov/Firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anton-matosov/Firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anton-matosov/Firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/anton-matosov/Firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anton-matosov/Firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/anton-matosov/Firmware/languages","stargazers_url":"https://api.github.com/repos/anton-matosov/Firmware/stargazers","contributors_url":"https://api.github.com/repos/anton-matosov/Firmware/contributors","subscribers_url":"https://api.github.com/repos/anton-matosov/Firmware/subscribers","subscription_url":"https://api.github.com/repos/anton-matosov/Firmware/subscription","commits_url":"https://api.github.com/repos/anton-matosov/Firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/anton-matosov/Firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/anton-matosov/Firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/anton-matosov/Firmware/issues/comments/{number}","contents_url":"https://api.github.com/repos/anton-matosov/Firmware/contents/{+path}","compare_url":"https://api.github.com/repos/anton-matosov/Firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anton-matosov/Firmware/merges","archive_url":"https://api.github.com/repos/anton-matosov/Firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anton-matosov/Firmware/downloads","issues_url":"https://api.github.com/repos/anton-matosov/Firmware/issues{/number}","pulls_url":"https://api.github.com/repos/anton-matosov/Firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/anton-matosov/Firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/anton-matosov/Firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anton-matosov/Firmware/labels{/name}","releases_url":"https://api.github.com/repos/anton-matosov/Firmware/releases{/id}","created_at":"2014-10-04T09:33:40Z","updated_at":"2015-01-05T23:27:15Z","pushed_at":"2015-01-08T11:11:21Z","git_url":"git://github.com/anton-matosov/Firmware.git","ssh_url":"git@github.com:anton-matosov/Firmware.git","clone_url":"https://github.com/anton-matosov/Firmware.git","svn_url":"https://github.com/anton-matosov/Firmware","homepage":"https://pixhawk.ethz.ch/px4/","size":63873,"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":"PX4:master","ref":"master","sha":"6ed2f77ca5c713e537c8fd4a9aacd7adc7887f53","user":{"login":"PX4","id":2096014,"avatar_url":"https://avatars.githubusercontent.com/u/2096014?v=3","gravatar_id":"","url":"https://api.github.com/users/PX4","html_url":"https://github.com/PX4","followers_url":"https://api.github.com/users/PX4/followers","following_url":"https://api.github.com/users/PX4/following{/other_user}","gists_url":"https://api.github.com/users/PX4/gists{/gist_id}","starred_url":"https://api.github.com/users/PX4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PX4/subscriptions","organizations_url":"https://api.github.com/users/PX4/orgs","repos_url":"https://api.github.com/users/PX4/repos","events_url":"https://api.github.com/users/PX4/events{/privacy}","received_events_url":"https://api.github.com/users/PX4/received_events","type":"Organization","site_admin":false},"repo":{"id":5298790,"name":"Firmware","full_name":"PX4/Firmware","owner":{"login":"PX4","id":2096014,"avatar_url":"https://avatars.githubusercontent.com/u/2096014?v=3","gravatar_id":"","url":"https://api.github.com/users/PX4","html_url":"https://github.com/PX4","followers_url":"https://api.github.com/users/PX4/followers","following_url":"https://api.github.com/users/PX4/following{/other_user}","gists_url":"https://api.github.com/users/PX4/gists{/gist_id}","starred_url":"https://api.github.com/users/PX4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PX4/subscriptions","organizations_url":"https://api.github.com/users/PX4/orgs","repos_url":"https://api.github.com/users/PX4/repos","events_url":"https://api.github.com/users/PX4/events{/privacy}","received_events_url":"https://api.github.com/users/PX4/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PX4/Firmware","description":"PX4 Firmware for PX4FMU autopilot and PX4IO servo / failsafe board","fork":false,"url":"https://api.github.com/repos/PX4/Firmware","forks_url":"https://api.github.com/repos/PX4/Firmware/forks","keys_url":"https://api.github.com/repos/PX4/Firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PX4/Firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PX4/Firmware/teams","hooks_url":"https://api.github.com/repos/PX4/Firmware/hooks","issue_events_url":"https://api.github.com/repos/PX4/Firmware/issues/events{/number}","events_url":"https://api.github.com/repos/PX4/Firmware/events","assignees_url":"https://api.github.com/repos/PX4/Firmware/assignees{/user}","branches_url":"https://api.github.com/repos/PX4/Firmware/branches{/branch}","tags_url":"https://api.github.com/repos/PX4/Firmware/tags","blobs_url":"https://api.github.com/repos/PX4/Firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PX4/Firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PX4/Firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/PX4/Firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PX4/Firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/PX4/Firmware/languages","stargazers_url":"https://api.github.com/repos/PX4/Firmware/stargazers","contributors_url":"https://api.github.com/repos/PX4/Firmware/contributors","subscribers_url":"https://api.github.com/repos/PX4/Firmware/subscribers","subscription_url":"https://api.github.com/repos/PX4/Firmware/subscription","commits_url":"https://api.github.com/repos/PX4/Firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/PX4/Firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/PX4/Firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/PX4/Firmware/issues/comments/{number}","contents_url":"https://api.github.com/repos/PX4/Firmware/contents/{+path}","compare_url":"https://api.github.com/repos/PX4/Firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PX4/Firmware/merges","archive_url":"https://api.github.com/repos/PX4/Firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PX4/Firmware/downloads","issues_url":"https://api.github.com/repos/PX4/Firmware/issues{/number}","pulls_url":"https://api.github.com/repos/PX4/Firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/PX4/Firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/PX4/Firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PX4/Firmware/labels{/name}","releases_url":"https://api.github.com/repos/PX4/Firmware/releases{/id}","created_at":"2012-08-04T21:19:36Z","updated_at":"2015-01-08T11:16:27Z","pushed_at":"2015-01-08T11:16:27Z","git_url":"git://github.com/PX4/Firmware.git","ssh_url":"git@github.com:PX4/Firmware.git","clone_url":"https://github.com/PX4/Firmware.git","svn_url":"https://github.com/PX4/Firmware","homepage":"https://pixhawk.ethz.ch/px4/","size":125556,"stargazers_count":227,"watchers_count":227,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":740,"mirror_url":null,"open_issues_count":109,"forks":740,"open_issues":109,"watchers":227,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/1601"},"html":{"href":"https://github.com/PX4/Firmware/pull/1601"},"issue":{"href":"https://api.github.com/repos/PX4/Firmware/issues/1601"},"comments":{"href":"https://api.github.com/repos/PX4/Firmware/issues/1601/comments"},"review_comments":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/1601/comments"},"review_comment":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/1601/commits"},"statuses":{"href":"https://api.github.com/repos/PX4/Firmware/statuses/25054d389a0d860664e2c3a67c180f8518876cbe"}}}}