{"action":"created","comment":{"url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/pulls/comments/67551978","id":67551978,"diff_hunk":"@@ -0,0 +1,77 @@\n+\n+#include <generated/csr.h>\n+#include <generated/mem.h>\n+#include <hw/flags.h>\n+#include <system.h>\n+#include <time.h>\n+#include \"heartbeat.h\"\n+#include \"processor.h\"\n+#include \"hdmi_in0.h\"\n+#include \"hdmi_in1.h\"\n+#include \"pattern.h\"\n+\n+static int heartbeat_status = 0;\n+\n+\n+void hb_status(int val){\n+\t\n+\tif(val==1)  { heartbeat_status = 1; }","path":"firmware/lm32/heartbeat.c","position":null,"original_position":18,"commit_id":"fb1b693b6b63d1e696912113a92f529c08457076","original_commit_id":"e6859f7a83e8d39d85d8c92d2e2287659aacf1d9","user":{"login":"ssk1328","id":12497545,"avatar_url":"https://avatars.githubusercontent.com/u/12497545?v=3","gravatar_id":"","url":"https://api.github.com/users/ssk1328","html_url":"https://github.com/ssk1328","followers_url":"https://api.github.com/users/ssk1328/followers","following_url":"https://api.github.com/users/ssk1328/following{/other_user}","gists_url":"https://api.github.com/users/ssk1328/gists{/gist_id}","starred_url":"https://api.github.com/users/ssk1328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssk1328/subscriptions","organizations_url":"https://api.github.com/users/ssk1328/orgs","repos_url":"https://api.github.com/users/ssk1328/repos","events_url":"https://api.github.com/users/ssk1328/events{/privacy}","received_events_url":"https://api.github.com/users/ssk1328/received_events","type":"User","site_admin":false},"body":"Corrected.","created_at":"2016-06-17T18:06:50Z","updated_at":"2016-06-17T18:06:50Z","html_url":"https://github.com/timvideos/HDMI2USB-misoc-firmware/pull/266#discussion_r67551978","pull_request_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/pulls/266","_links":{"self":{"href":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/pulls/comments/67551978"},"html":{"href":"https://github.com/timvideos/HDMI2USB-misoc-firmware/pull/266#discussion_r67551978"},"pull_request":{"href":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/pulls/266"}}},"pull_request":{"url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/pulls/266","id":74192096,"html_url":"https://github.com/timvideos/HDMI2USB-misoc-firmware/pull/266","diff_url":"https://github.com/timvideos/HDMI2USB-misoc-firmware/pull/266.diff","patch_url":"https://github.com/timvideos/HDMI2USB-misoc-firmware/pull/266.patch","issue_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/issues/266","number":266,"state":"open","locked":false,"title":"Added heartbeat functionality","user":{"login":"ssk1328","id":12497545,"avatar_url":"https://avatars.githubusercontent.com/u/12497545?v=3","gravatar_id":"","url":"https://api.github.com/users/ssk1328","html_url":"https://github.com/ssk1328","followers_url":"https://api.github.com/users/ssk1328/followers","following_url":"https://api.github.com/users/ssk1328/following{/other_user}","gists_url":"https://api.github.com/users/ssk1328/gists{/gist_id}","starred_url":"https://api.github.com/users/ssk1328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssk1328/subscriptions","organizations_url":"https://api.github.com/users/ssk1328/orgs","repos_url":"https://api.github.com/users/ssk1328/repos","events_url":"https://api.github.com/users/ssk1328/events{/privacy}","received_events_url":"https://api.github.com/users/ssk1328/received_events","type":"User","site_admin":false},"body":"This adds heartbeat functionality, which toggles the bottom right pixels as a \"heart beat\" to show things are continuing to work even when the input is otherwise static. The user can turn it ON/OFF at HDMI2USB-> prompt, and is by default in OFF state. This fixes #234. \r\n\r\n","created_at":"2016-06-17T05:53:55Z","updated_at":"2016-06-17T18:06:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af3f6a65ecdc6725b7050f2969503c54872a25d2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/pulls/266/commits","review_comments_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/pulls/266/comments","review_comment_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/issues/266/comments","statuses_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/statuses/fb1b693b6b63d1e696912113a92f529c08457076","head":{"label":"ssk1328:heartbeat_module","ref":"heartbeat_module","sha":"fb1b693b6b63d1e696912113a92f529c08457076","user":{"login":"ssk1328","id":12497545,"avatar_url":"https://avatars.githubusercontent.com/u/12497545?v=3","gravatar_id":"","url":"https://api.github.com/users/ssk1328","html_url":"https://github.com/ssk1328","followers_url":"https://api.github.com/users/ssk1328/followers","following_url":"https://api.github.com/users/ssk1328/following{/other_user}","gists_url":"https://api.github.com/users/ssk1328/gists{/gist_id}","starred_url":"https://api.github.com/users/ssk1328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssk1328/subscriptions","organizations_url":"https://api.github.com/users/ssk1328/orgs","repos_url":"https://api.github.com/users/ssk1328/repos","events_url":"https://api.github.com/users/ssk1328/events{/privacy}","received_events_url":"https://api.github.com/users/ssk1328/received_events","type":"User","site_admin":false},"repo":{"id":61288407,"name":"HDMI2USB-misoc-firmware","full_name":"ssk1328/HDMI2USB-misoc-firmware","owner":{"login":"ssk1328","id":12497545,"avatar_url":"https://avatars.githubusercontent.com/u/12497545?v=3","gravatar_id":"","url":"https://api.github.com/users/ssk1328","html_url":"https://github.com/ssk1328","followers_url":"https://api.github.com/users/ssk1328/followers","following_url":"https://api.github.com/users/ssk1328/following{/other_user}","gists_url":"https://api.github.com/users/ssk1328/gists{/gist_id}","starred_url":"https://api.github.com/users/ssk1328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssk1328/subscriptions","organizations_url":"https://api.github.com/users/ssk1328/orgs","repos_url":"https://api.github.com/users/ssk1328/repos","events_url":"https://api.github.com/users/ssk1328/events{/privacy}","received_events_url":"https://api.github.com/users/ssk1328/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ssk1328/HDMI2USB-misoc-firmware","description":"A version of the HDMI2USB firmware based around the misoc+migen tools produced by m-labs.","fork":true,"url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware","forks_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/forks","keys_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/teams","hooks_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/hooks","issue_events_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/issues/events{/number}","events_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/events","assignees_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/assignees{/user}","branches_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/branches{/branch}","tags_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/tags","blobs_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/languages","stargazers_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/stargazers","contributors_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/contributors","subscribers_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/subscribers","subscription_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/subscription","commits_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/contents/{+path}","compare_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/merges","archive_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/downloads","issues_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/issues{/number}","pulls_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/labels{/name}","releases_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/releases{/id}","deployments_url":"https://api.github.com/repos/ssk1328/HDMI2USB-misoc-firmware/deployments","created_at":"2016-06-16T11:46:20Z","updated_at":"2016-06-16T11:46:21Z","pushed_at":"2016-06-17T17:50:17Z","git_url":"git://github.com/ssk1328/HDMI2USB-misoc-firmware.git","ssh_url":"git@github.com:ssk1328/HDMI2USB-misoc-firmware.git","clone_url":"https://github.com/ssk1328/HDMI2USB-misoc-firmware.git","svn_url":"https://github.com/ssk1328/HDMI2USB-misoc-firmware","homepage":null,"size":1705,"stargazers_count":0,"watchers_count":0,"language":"VHDL","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"timvideos:master","ref":"master","sha":"b6007e9f26067960c522fa9e8f17f50306714443","user":{"login":"timvideos","id":811205,"avatar_url":"https://avatars.githubusercontent.com/u/811205?v=3","gravatar_id":"","url":"https://api.github.com/users/timvideos","html_url":"https://github.com/timvideos","followers_url":"https://api.github.com/users/timvideos/followers","following_url":"https://api.github.com/users/timvideos/following{/other_user}","gists_url":"https://api.github.com/users/timvideos/gists{/gist_id}","starred_url":"https://api.github.com/users/timvideos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timvideos/subscriptions","organizations_url":"https://api.github.com/users/timvideos/orgs","repos_url":"https://api.github.com/users/timvideos/repos","events_url":"https://api.github.com/users/timvideos/events{/privacy}","received_events_url":"https://api.github.com/users/timvideos/received_events","type":"Organization","site_admin":false},"repo":{"id":38310461,"name":"HDMI2USB-misoc-firmware","full_name":"timvideos/HDMI2USB-misoc-firmware","owner":{"login":"timvideos","id":811205,"avatar_url":"https://avatars.githubusercontent.com/u/811205?v=3","gravatar_id":"","url":"https://api.github.com/users/timvideos","html_url":"https://github.com/timvideos","followers_url":"https://api.github.com/users/timvideos/followers","following_url":"https://api.github.com/users/timvideos/following{/other_user}","gists_url":"https://api.github.com/users/timvideos/gists{/gist_id}","starred_url":"https://api.github.com/users/timvideos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timvideos/subscriptions","organizations_url":"https://api.github.com/users/timvideos/orgs","repos_url":"https://api.github.com/users/timvideos/repos","events_url":"https://api.github.com/users/timvideos/events{/privacy}","received_events_url":"https://api.github.com/users/timvideos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/timvideos/HDMI2USB-misoc-firmware","description":"A version of the HDMI2USB firmware based around the misoc+migen tools produced by m-labs.","fork":false,"url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware","forks_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/forks","keys_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/teams","hooks_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/hooks","issue_events_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/issues/events{/number}","events_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/events","assignees_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/assignees{/user}","branches_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/branches{/branch}","tags_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/tags","blobs_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/git/refs{/sha}","trees_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/statuses/{sha}","languages_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/languages","stargazers_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/stargazers","contributors_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/contributors","subscribers_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/subscribers","subscription_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/subscription","commits_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/commits{/sha}","git_commits_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/git/commits{/sha}","comments_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/comments{/number}","issue_comment_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/issues/comments{/number}","contents_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/contents/{+path}","compare_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/merges","archive_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/downloads","issues_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/issues{/number}","pulls_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/pulls{/number}","milestones_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/milestones{/number}","notifications_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/labels{/name}","releases_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/releases{/id}","deployments_url":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/deployments","created_at":"2015-06-30T13:22:34Z","updated_at":"2016-06-06T16:45:29Z","pushed_at":"2016-06-17T17:50:18Z","git_url":"git://github.com/timvideos/HDMI2USB-misoc-firmware.git","ssh_url":"git@github.com:timvideos/HDMI2USB-misoc-firmware.git","clone_url":"https://github.com/timvideos/HDMI2USB-misoc-firmware.git","svn_url":"https://github.com/timvideos/HDMI2USB-misoc-firmware","homepage":null,"size":2038,"stargazers_count":19,"watchers_count":19,"language":"VHDL","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":120,"forks":24,"open_issues":120,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/pulls/266"},"html":{"href":"https://github.com/timvideos/HDMI2USB-misoc-firmware/pull/266"},"issue":{"href":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/issues/266"},"comments":{"href":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/issues/266/comments"},"review_comments":{"href":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/pulls/266/comments"},"review_comment":{"href":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/pulls/266/commits"},"statuses":{"href":"https://api.github.com/repos/timvideos/HDMI2USB-misoc-firmware/statuses/fb1b693b6b63d1e696912113a92f529c08457076"}}}}
{"actor":{"display_login":"ssk1328"}}