{"action":"created","issue":{"url":"https://api.github.com/repos/libopencm3/libopencm3-examples/issues/119","labels_url":"https://api.github.com/repos/libopencm3/libopencm3-examples/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/libopencm3/libopencm3-examples/issues/119/comments","events_url":"https://api.github.com/repos/libopencm3/libopencm3-examples/issues/119/events","html_url":"https://github.com/libopencm3/libopencm3-examples/pull/119","id":128656620,"number":119,"title":"f4-discovery usb_cdcacm cleanup","user":{"login":"svofski","id":6445874,"avatar_url":"https://avatars.githubusercontent.com/u/6445874?v=3","gravatar_id":"","url":"https://api.github.com/users/svofski","html_url":"https://github.com/svofski","followers_url":"https://api.github.com/users/svofski/followers","following_url":"https://api.github.com/users/svofski/following{/other_user}","gists_url":"https://api.github.com/users/svofski/gists{/gist_id}","starred_url":"https://api.github.com/users/svofski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svofski/subscriptions","organizations_url":"https://api.github.com/users/svofski/orgs","repos_url":"https://api.github.com/users/svofski/repos","events_url":"https://api.github.com/users/svofski/events{/privacy}","received_events_url":"https://api.github.com/users/svofski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-25T22:19:31Z","updated_at":"2016-01-26T09:35:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libopencm3/libopencm3-examples/pulls/119","html_url":"https://github.com/libopencm3/libopencm3-examples/pull/119","diff_url":"https://github.com/libopencm3/libopencm3-examples/pull/119.diff","patch_url":"https://github.com/libopencm3/libopencm3-examples/pull/119.patch"},"body":"Some samples are slightly rough around the corners. I think they can be made a little bit more self-descriptive. Here's clean up of f4-discovery usb_cdcacm sample. Things modified:\r\n- Named endpoints\r\n- Named result codes\r\n- Data buffer made static instead of allocated on stack\r\n- Used sizeof-based values where possible"},"comment":{"url":"https://api.github.com/repos/libopencm3/libopencm3-examples/issues/comments/174925269","html_url":"https://github.com/libopencm3/libopencm3-examples/pull/119#issuecomment-174925269","issue_url":"https://api.github.com/repos/libopencm3/libopencm3-examples/issues/119","id":174925269,"user":{"login":"karlp","id":127907,"avatar_url":"https://avatars.githubusercontent.com/u/127907?v=3","gravatar_id":"","url":"https://api.github.com/users/karlp","html_url":"https://github.com/karlp","followers_url":"https://api.github.com/users/karlp/followers","following_url":"https://api.github.com/users/karlp/following{/other_user}","gists_url":"https://api.github.com/users/karlp/gists{/gist_id}","starred_url":"https://api.github.com/users/karlp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlp/subscriptions","organizations_url":"https://api.github.com/users/karlp/orgs","repos_url":"https://api.github.com/users/karlp/repos","events_url":"https://api.github.com/users/karlp/events{/privacy}","received_events_url":"https://api.github.com/users/karlp/received_events","type":"User","site_admin":false},"created_at":"2016-01-26T09:35:56Z","updated_at":"2016-01-26T09:35:56Z","body":"The general problem with something like this is that it results in the examples being different.  They really need to be more common, not diverging with this cdcacm example being completely different from the others."}}