{"action":"opened","number":727,"pull_request":{"url":"https://api.github.com/repos/spark/firmware/pulls/727","id":49530580,"html_url":"https://github.com/spark/firmware/pull/727","diff_url":"https://github.com/spark/firmware/pull/727.diff","patch_url":"https://github.com/spark/firmware/pull/727.patch","issue_url":"https://api.github.com/repos/spark/firmware/issues/727","number":727,"state":"open","locked":false,"title":"Zero out unused fields in DAC_InitStructure - seems to fix the DAC","user":{"login":"unreason","id":8685181,"avatar_url":"https://avatars.githubusercontent.com/u/8685181?v=3","gravatar_id":"","url":"https://api.github.com/users/unreason","html_url":"https://github.com/unreason","followers_url":"https://api.github.com/users/unreason/followers","following_url":"https://api.github.com/users/unreason/following{/other_user}","gists_url":"https://api.github.com/users/unreason/gists{/gist_id}","starred_url":"https://api.github.com/users/unreason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unreason/subscriptions","organizations_url":"https://api.github.com/users/unreason/orgs","repos_url":"https://api.github.com/users/unreason/repos","events_url":"https://api.github.com/users/unreason/events{/privacy}","received_events_url":"https://api.github.com/users/unreason/received_events","type":"User","site_admin":false},"body":"Zeroing out the only unused field in DAC_InitStructure - DAC_InitTypeDef::DAC_LFSRUnmask_TriangleAmplitude - appears to completely fix DAC behavior for me (issues #671 and #662). Setting the unused field to 255 brings back erratic behavior.\r\n\r\nCan someone else please try this fix and report if it works for them?","created_at":"2015-11-03T08:50:43Z","updated_at":"2015-11-03T08:50:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"131f3f6d4a8178dfbf9f9945641c15db90163e3f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/spark/firmware/pulls/727/commits","review_comments_url":"https://api.github.com/repos/spark/firmware/pulls/727/comments","review_comment_url":"https://api.github.com/repos/spark/firmware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spark/firmware/issues/727/comments","statuses_url":"https://api.github.com/repos/spark/firmware/statuses/5da12ca4b9fd8360c80fc774451f91d97005b0cb","head":{"label":"unreason:develop","ref":"develop","sha":"5da12ca4b9fd8360c80fc774451f91d97005b0cb","user":{"login":"unreason","id":8685181,"avatar_url":"https://avatars.githubusercontent.com/u/8685181?v=3","gravatar_id":"","url":"https://api.github.com/users/unreason","html_url":"https://github.com/unreason","followers_url":"https://api.github.com/users/unreason/followers","following_url":"https://api.github.com/users/unreason/following{/other_user}","gists_url":"https://api.github.com/users/unreason/gists{/gist_id}","starred_url":"https://api.github.com/users/unreason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unreason/subscriptions","organizations_url":"https://api.github.com/users/unreason/orgs","repos_url":"https://api.github.com/users/unreason/repos","events_url":"https://api.github.com/users/unreason/events{/privacy}","received_events_url":"https://api.github.com/users/unreason/received_events","type":"User","site_admin":false},"repo":{"id":45452825,"name":"firmware","full_name":"unreason/firmware","owner":{"login":"unreason","id":8685181,"avatar_url":"https://avatars.githubusercontent.com/u/8685181?v=3","gravatar_id":"","url":"https://api.github.com/users/unreason","html_url":"https://github.com/unreason","followers_url":"https://api.github.com/users/unreason/followers","following_url":"https://api.github.com/users/unreason/following{/other_user}","gists_url":"https://api.github.com/users/unreason/gists{/gist_id}","starred_url":"https://api.github.com/users/unreason/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unreason/subscriptions","organizations_url":"https://api.github.com/users/unreason/orgs","repos_url":"https://api.github.com/users/unreason/repos","events_url":"https://api.github.com/users/unreason/events{/privacy}","received_events_url":"https://api.github.com/users/unreason/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/unreason/firmware","description":"Firmware for Particle Devices: Spark Core (master branch) and Photon (latest branch)","fork":true,"url":"https://api.github.com/repos/unreason/firmware","forks_url":"https://api.github.com/repos/unreason/firmware/forks","keys_url":"https://api.github.com/repos/unreason/firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/unreason/firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/unreason/firmware/teams","hooks_url":"https://api.github.com/repos/unreason/firmware/hooks","issue_events_url":"https://api.github.com/repos/unreason/firmware/issues/events{/number}","events_url":"https://api.github.com/repos/unreason/firmware/events","assignees_url":"https://api.github.com/repos/unreason/firmware/assignees{/user}","branches_url":"https://api.github.com/repos/unreason/firmware/branches{/branch}","tags_url":"https://api.github.com/repos/unreason/firmware/tags","blobs_url":"https://api.github.com/repos/unreason/firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/unreason/firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/unreason/firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/unreason/firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/unreason/firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/unreason/firmware/languages","stargazers_url":"https://api.github.com/repos/unreason/firmware/stargazers","contributors_url":"https://api.github.com/repos/unreason/firmware/contributors","subscribers_url":"https://api.github.com/repos/unreason/firmware/subscribers","subscription_url":"https://api.github.com/repos/unreason/firmware/subscription","commits_url":"https://api.github.com/repos/unreason/firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/unreason/firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/unreason/firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/unreason/firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/unreason/firmware/contents/{+path}","compare_url":"https://api.github.com/repos/unreason/firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/unreason/firmware/merges","archive_url":"https://api.github.com/repos/unreason/firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/unreason/firmware/downloads","issues_url":"https://api.github.com/repos/unreason/firmware/issues{/number}","pulls_url":"https://api.github.com/repos/unreason/firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/unreason/firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/unreason/firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/unreason/firmware/labels{/name}","releases_url":"https://api.github.com/repos/unreason/firmware/releases{/id}","created_at":"2015-11-03T08:40:44Z","updated_at":"2015-11-03T08:41:00Z","pushed_at":"2015-11-03T08:47:24Z","git_url":"git://github.com/unreason/firmware.git","ssh_url":"git@github.com:unreason/firmware.git","clone_url":"https://github.com/unreason/firmware.git","svn_url":"https://github.com/unreason/firmware","homepage":"https://www.particle.io/","size":109610,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"spark:develop","ref":"develop","sha":"77f0c43b2f46b96ecf4fdc7cc1b8b757e52e2bae","user":{"login":"spark","id":2348966,"avatar_url":"https://avatars.githubusercontent.com/u/2348966?v=3","gravatar_id":"","url":"https://api.github.com/users/spark","html_url":"https://github.com/spark","followers_url":"https://api.github.com/users/spark/followers","following_url":"https://api.github.com/users/spark/following{/other_user}","gists_url":"https://api.github.com/users/spark/gists{/gist_id}","starred_url":"https://api.github.com/users/spark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark/subscriptions","organizations_url":"https://api.github.com/users/spark/orgs","repos_url":"https://api.github.com/users/spark/repos","events_url":"https://api.github.com/users/spark/events{/privacy}","received_events_url":"https://api.github.com/users/spark/received_events","type":"Organization","site_admin":false},"repo":{"id":8720130,"name":"firmware","full_name":"spark/firmware","owner":{"login":"spark","id":2348966,"avatar_url":"https://avatars.githubusercontent.com/u/2348966?v=3","gravatar_id":"","url":"https://api.github.com/users/spark","html_url":"https://github.com/spark","followers_url":"https://api.github.com/users/spark/followers","following_url":"https://api.github.com/users/spark/following{/other_user}","gists_url":"https://api.github.com/users/spark/gists{/gist_id}","starred_url":"https://api.github.com/users/spark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spark/subscriptions","organizations_url":"https://api.github.com/users/spark/orgs","repos_url":"https://api.github.com/users/spark/repos","events_url":"https://api.github.com/users/spark/events{/privacy}","received_events_url":"https://api.github.com/users/spark/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spark/firmware","description":"Firmware for Particle Devices: Spark Core (master branch) and Photon (latest branch)","fork":false,"url":"https://api.github.com/repos/spark/firmware","forks_url":"https://api.github.com/repos/spark/firmware/forks","keys_url":"https://api.github.com/repos/spark/firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spark/firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spark/firmware/teams","hooks_url":"https://api.github.com/repos/spark/firmware/hooks","issue_events_url":"https://api.github.com/repos/spark/firmware/issues/events{/number}","events_url":"https://api.github.com/repos/spark/firmware/events","assignees_url":"https://api.github.com/repos/spark/firmware/assignees{/user}","branches_url":"https://api.github.com/repos/spark/firmware/branches{/branch}","tags_url":"https://api.github.com/repos/spark/firmware/tags","blobs_url":"https://api.github.com/repos/spark/firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spark/firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spark/firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/spark/firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spark/firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/spark/firmware/languages","stargazers_url":"https://api.github.com/repos/spark/firmware/stargazers","contributors_url":"https://api.github.com/repos/spark/firmware/contributors","subscribers_url":"https://api.github.com/repos/spark/firmware/subscribers","subscription_url":"https://api.github.com/repos/spark/firmware/subscription","commits_url":"https://api.github.com/repos/spark/firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/spark/firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/spark/firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/spark/firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/spark/firmware/contents/{+path}","compare_url":"https://api.github.com/repos/spark/firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spark/firmware/merges","archive_url":"https://api.github.com/repos/spark/firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spark/firmware/downloads","issues_url":"https://api.github.com/repos/spark/firmware/issues{/number}","pulls_url":"https://api.github.com/repos/spark/firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/spark/firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/spark/firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spark/firmware/labels{/name}","releases_url":"https://api.github.com/repos/spark/firmware/releases{/id}","created_at":"2013-03-12T04:42:33Z","updated_at":"2015-11-02T09:36:20Z","pushed_at":"2015-11-03T08:50:43Z","git_url":"git://github.com/spark/firmware.git","ssh_url":"git@github.com:spark/firmware.git","clone_url":"https://github.com/spark/firmware.git","svn_url":"https://github.com/spark/firmware","homepage":"https://www.particle.io/","size":109610,"stargazers_count":352,"watchers_count":352,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":247,"mirror_url":null,"open_issues_count":74,"forks":247,"open_issues":74,"watchers":352,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/spark/firmware/pulls/727"},"html":{"href":"https://github.com/spark/firmware/pull/727"},"issue":{"href":"https://api.github.com/repos/spark/firmware/issues/727"},"comments":{"href":"https://api.github.com/repos/spark/firmware/issues/727/comments"},"review_comments":{"href":"https://api.github.com/repos/spark/firmware/pulls/727/comments"},"review_comment":{"href":"https://api.github.com/repos/spark/firmware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spark/firmware/pulls/727/commits"},"statuses":{"href":"https://api.github.com/repos/spark/firmware/statuses/5da12ca4b9fd8360c80fc774451f91d97005b0cb"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}