{"action":"opened","number":2803,"pull_request":{"url":"https://api.github.com/repos/PX4/Firmware/pulls/2803","id":44083749,"html_url":"https://github.com/PX4/Firmware/pull/2803","diff_url":"https://github.com/PX4/Firmware/pull/2803.diff","patch_url":"https://github.com/PX4/Firmware/pull/2803.patch","issue_url":"https://api.github.com/repos/PX4/Firmware/issues/2803","number":2803,"state":"open","locked":false,"title":"Tone_Alarm: Added ability to use timer 1 and timer 8 for the tone alarm driver.","user":{"login":"ksschwabe","id":4036885,"avatar_url":"https://avatars.githubusercontent.com/u/4036885?v=3","gravatar_id":"","url":"https://api.github.com/users/ksschwabe","html_url":"https://github.com/ksschwabe","followers_url":"https://api.github.com/users/ksschwabe/followers","following_url":"https://api.github.com/users/ksschwabe/following{/other_user}","gists_url":"https://api.github.com/users/ksschwabe/gists{/gist_id}","starred_url":"https://api.github.com/users/ksschwabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksschwabe/subscriptions","organizations_url":"https://api.github.com/users/ksschwabe/orgs","repos_url":"https://api.github.com/users/ksschwabe/repos","events_url":"https://api.github.com/users/ksschwabe/events{/privacy}","received_events_url":"https://api.github.com/users/ksschwabe/received_events","type":"User","site_admin":false},"body":"I added the ability to use the advanced timers TIM1 and TIM8 in the tone_alarm driver. Since these are advanced timers, they have an additional register (break and dead-time register). The main output enable (MOE) bit in this register needs to be set to have the timer output tied to the pin.\r\n\r\nThis PR doesn't affect any of the current working of the tone alarm driver for any of the current boards, it just allows one to make use of timers 1 and 8, if someone wants to use the tone_alarm driver on another board that has a buzzer on timer 1 or 8.","created_at":"2015-09-03T09:07:38Z","updated_at":"2015-09-03T09:07:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PX4/Firmware/pulls/2803/commits","review_comments_url":"https://api.github.com/repos/PX4/Firmware/pulls/2803/comments","review_comment_url":"https://api.github.com/repos/PX4/Firmware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PX4/Firmware/issues/2803/comments","statuses_url":"https://api.github.com/repos/PX4/Firmware/statuses/9f300e054dd5d4812f555bb586fb1a1a7fc75adb","head":{"label":"ksschwabe:master","ref":"master","sha":"9f300e054dd5d4812f555bb586fb1a1a7fc75adb","user":{"login":"ksschwabe","id":4036885,"avatar_url":"https://avatars.githubusercontent.com/u/4036885?v=3","gravatar_id":"","url":"https://api.github.com/users/ksschwabe","html_url":"https://github.com/ksschwabe","followers_url":"https://api.github.com/users/ksschwabe/followers","following_url":"https://api.github.com/users/ksschwabe/following{/other_user}","gists_url":"https://api.github.com/users/ksschwabe/gists{/gist_id}","starred_url":"https://api.github.com/users/ksschwabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksschwabe/subscriptions","organizations_url":"https://api.github.com/users/ksschwabe/orgs","repos_url":"https://api.github.com/users/ksschwabe/repos","events_url":"https://api.github.com/users/ksschwabe/events{/privacy}","received_events_url":"https://api.github.com/users/ksschwabe/received_events","type":"User","site_admin":false},"repo":{"id":38884036,"name":"Firmware","full_name":"ksschwabe/Firmware","owner":{"login":"ksschwabe","id":4036885,"avatar_url":"https://avatars.githubusercontent.com/u/4036885?v=3","gravatar_id":"","url":"https://api.github.com/users/ksschwabe","html_url":"https://github.com/ksschwabe","followers_url":"https://api.github.com/users/ksschwabe/followers","following_url":"https://api.github.com/users/ksschwabe/following{/other_user}","gists_url":"https://api.github.com/users/ksschwabe/gists{/gist_id}","starred_url":"https://api.github.com/users/ksschwabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksschwabe/subscriptions","organizations_url":"https://api.github.com/users/ksschwabe/orgs","repos_url":"https://api.github.com/users/ksschwabe/repos","events_url":"https://api.github.com/users/ksschwabe/events{/privacy}","received_events_url":"https://api.github.com/users/ksschwabe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ksschwabe/Firmware","description":"PX4 Firmware for Pixhawk Hardware","fork":true,"url":"https://api.github.com/repos/ksschwabe/Firmware","forks_url":"https://api.github.com/repos/ksschwabe/Firmware/forks","keys_url":"https://api.github.com/repos/ksschwabe/Firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ksschwabe/Firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ksschwabe/Firmware/teams","hooks_url":"https://api.github.com/repos/ksschwabe/Firmware/hooks","issue_events_url":"https://api.github.com/repos/ksschwabe/Firmware/issues/events{/number}","events_url":"https://api.github.com/repos/ksschwabe/Firmware/events","assignees_url":"https://api.github.com/repos/ksschwabe/Firmware/assignees{/user}","branches_url":"https://api.github.com/repos/ksschwabe/Firmware/branches{/branch}","tags_url":"https://api.github.com/repos/ksschwabe/Firmware/tags","blobs_url":"https://api.github.com/repos/ksschwabe/Firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ksschwabe/Firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ksschwabe/Firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/ksschwabe/Firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ksschwabe/Firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/ksschwabe/Firmware/languages","stargazers_url":"https://api.github.com/repos/ksschwabe/Firmware/stargazers","contributors_url":"https://api.github.com/repos/ksschwabe/Firmware/contributors","subscribers_url":"https://api.github.com/repos/ksschwabe/Firmware/subscribers","subscription_url":"https://api.github.com/repos/ksschwabe/Firmware/subscription","commits_url":"https://api.github.com/repos/ksschwabe/Firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/ksschwabe/Firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/ksschwabe/Firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/ksschwabe/Firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/ksschwabe/Firmware/contents/{+path}","compare_url":"https://api.github.com/repos/ksschwabe/Firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ksschwabe/Firmware/merges","archive_url":"https://api.github.com/repos/ksschwabe/Firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ksschwabe/Firmware/downloads","issues_url":"https://api.github.com/repos/ksschwabe/Firmware/issues{/number}","pulls_url":"https://api.github.com/repos/ksschwabe/Firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/ksschwabe/Firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/ksschwabe/Firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ksschwabe/Firmware/labels{/name}","releases_url":"https://api.github.com/repos/ksschwabe/Firmware/releases{/id}","created_at":"2015-07-10T14:19:12Z","updated_at":"2015-07-10T14:19:18Z","pushed_at":"2015-09-03T09:04:13Z","git_url":"git://github.com/ksschwabe/Firmware.git","ssh_url":"git@github.com:ksschwabe/Firmware.git","clone_url":"https://github.com/ksschwabe/Firmware.git","svn_url":"https://github.com/ksschwabe/Firmware","homepage":"https://px4.io","size":77141,"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":"cb96dc107459303d36d9f761f943f4e0e7caf195","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 Pixhawk Hardware","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-09-02T18:19:14Z","pushed_at":"2015-09-03T08:12:37Z","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://px4.io","size":167083,"stargazers_count":392,"watchers_count":392,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1404,"mirror_url":null,"open_issues_count":205,"forks":1404,"open_issues":205,"watchers":392,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/2803"},"html":{"href":"https://github.com/PX4/Firmware/pull/2803"},"issue":{"href":"https://api.github.com/repos/PX4/Firmware/issues/2803"},"comments":{"href":"https://api.github.com/repos/PX4/Firmware/issues/2803/comments"},"review_comments":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/2803/comments"},"review_comment":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PX4/Firmware/pulls/2803/commits"},"statuses":{"href":"https://api.github.com/repos/PX4/Firmware/statuses/9f300e054dd5d4812f555bb586fb1a1a7fc75adb"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":44,"deletions":1,"changed_files":1}}