{"action":"created","comment":{"url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/pulls/comments/172076846","pull_request_review_id":101032208,"id":172076846,"diff_hunk":"@@ -56,34 +53,41 @@ void initializeIO() { watchdogInit(); }\n  * pre_auton() in other environments can be implemented in this task if desired.\r\n  */\r\n void initialize() {\r\n-  gyro = gyroInit(3, 230);\r\n+  info(\"Boot\");\r\n   setTeamName(\"9228A\");\r\n+\r\n+  init_error(true, uart2);\r\n+  debug(\"init error sys\");\r\n+\r\n   if (!init_encoders())\r\n     error(\"Encoders failed\");\r\n-  lifter_ultrasonic = ultrasonicInit(4, 5);\r\n-  return;\r\n-  if (isEnabled() && isOnline()) {\r\n-    error(\"Robot Reset\");\r\n-    // Return to opt control\r\n-    return;\r\n-  }\r\n-  init_error(true, uart2);\r\n-  info(\"init error\");\r\n-  init_main_lcd(uart1);\r\n-  // Chech batteries\r\n-  if (!battery_level_acceptable()) {\r\n-    menu_t *bat_menu = init_menu_var(STRING_TYPE, \"Main or 9V Dead\", 1, \"Okay\");\r\n-    // execution paused till user confirms\r\n-    display_menu(bat_menu);\r\n-  }\r","path":"src/init.c","position":45,"original_position":45,"commit_id":"c269976785e9c7876cdd4a0fcd93a92ebc7abfbc","original_commit_id":"c269976785e9c7876cdd4a0fcd93a92ebc7abfbc","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars1.githubusercontent.com/u/19940114?v=4","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://app.codacy.com/assets/images/favicon.png) Issue found: [Variable 'rtn_val1' is assigned a value that is never used.](https://app.codacy.com/app/chrisjjerrett/InTheZoneA/pullRequest?prid=1394595)","created_at":"2018-03-05T01:49:41Z","updated_at":"2018-03-05T01:49:41Z","html_url":"https://github.com/SJPMechaEagles/InTheZoneA/pull/3#discussion_r172076846","pull_request_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/pulls/comments/172076846"},"html":{"href":"https://github.com/SJPMechaEagles/InTheZoneA/pull/3#discussion_r172076846"},"pull_request":{"href":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/pulls/3","id":172756998,"html_url":"https://github.com/SJPMechaEagles/InTheZoneA/pull/3","diff_url":"https://github.com/SJPMechaEagles/InTheZoneA/pull/3.diff","patch_url":"https://github.com/SJPMechaEagles/InTheZoneA/pull/3.patch","issue_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/issues/3","number":3,"state":"open","locked":false,"title":"Async menu system","user":{"login":"chrisj1","id":12666959,"avatar_url":"https://avatars1.githubusercontent.com/u/12666959?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisj1","html_url":"https://github.com/chrisj1","followers_url":"https://api.github.com/users/chrisj1/followers","following_url":"https://api.github.com/users/chrisj1/following{/other_user}","gists_url":"https://api.github.com/users/chrisj1/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisj1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisj1/subscriptions","organizations_url":"https://api.github.com/users/chrisj1/orgs","repos_url":"https://api.github.com/users/chrisj1/repos","events_url":"https://api.github.com/users/chrisj1/events{/privacy}","received_events_url":"https://api.github.com/users/chrisj1/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-05T01:45:11Z","updated_at":"2018-03-05T01:49:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"chrisj1","id":12666959,"avatar_url":"https://avatars1.githubusercontent.com/u/12666959?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisj1","html_url":"https://github.com/chrisj1","followers_url":"https://api.github.com/users/chrisj1/followers","following_url":"https://api.github.com/users/chrisj1/following{/other_user}","gists_url":"https://api.github.com/users/chrisj1/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisj1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisj1/subscriptions","organizations_url":"https://api.github.com/users/chrisj1/orgs","repos_url":"https://api.github.com/users/chrisj1/repos","events_url":"https://api.github.com/users/chrisj1/events{/privacy}","received_events_url":"https://api.github.com/users/chrisj1/received_events","type":"User","site_admin":false},"assignees":[{"login":"chrisj1","id":12666959,"avatar_url":"https://avatars1.githubusercontent.com/u/12666959?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisj1","html_url":"https://github.com/chrisj1","followers_url":"https://api.github.com/users/chrisj1/followers","following_url":"https://api.github.com/users/chrisj1/following{/other_user}","gists_url":"https://api.github.com/users/chrisj1/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisj1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisj1/subscriptions","organizations_url":"https://api.github.com/users/chrisj1/orgs","repos_url":"https://api.github.com/users/chrisj1/repos","events_url":"https://api.github.com/users/chrisj1/events{/privacy}","received_events_url":"https://api.github.com/users/chrisj1/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"cdesimone18","id":15633569,"avatar_url":"https://avatars3.githubusercontent.com/u/15633569?v=4","gravatar_id":"","url":"https://api.github.com/users/cdesimone18","html_url":"https://github.com/cdesimone18","followers_url":"https://api.github.com/users/cdesimone18/followers","following_url":"https://api.github.com/users/cdesimone18/following{/other_user}","gists_url":"https://api.github.com/users/cdesimone18/gists{/gist_id}","starred_url":"https://api.github.com/users/cdesimone18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdesimone18/subscriptions","organizations_url":"https://api.github.com/users/cdesimone18/orgs","repos_url":"https://api.github.com/users/cdesimone18/repos","events_url":"https://api.github.com/users/cdesimone18/events{/privacy}","received_events_url":"https://api.github.com/users/cdesimone18/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":674138702,"url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/pulls/3/commits","review_comments_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/pulls/3/comments","review_comment_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/issues/3/comments","statuses_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/statuses/c269976785e9c7876cdd4a0fcd93a92ebc7abfbc","head":{"label":"SJPMechaEagles:asyncMenuSystem","ref":"asyncMenuSystem","sha":"c269976785e9c7876cdd4a0fcd93a92ebc7abfbc","user":{"login":"SJPMechaEagles","id":31250355,"avatar_url":"https://avatars0.githubusercontent.com/u/31250355?v=4","gravatar_id":"","url":"https://api.github.com/users/SJPMechaEagles","html_url":"https://github.com/SJPMechaEagles","followers_url":"https://api.github.com/users/SJPMechaEagles/followers","following_url":"https://api.github.com/users/SJPMechaEagles/following{/other_user}","gists_url":"https://api.github.com/users/SJPMechaEagles/gists{/gist_id}","starred_url":"https://api.github.com/users/SJPMechaEagles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SJPMechaEagles/subscriptions","organizations_url":"https://api.github.com/users/SJPMechaEagles/orgs","repos_url":"https://api.github.com/users/SJPMechaEagles/repos","events_url":"https://api.github.com/users/SJPMechaEagles/events{/privacy}","received_events_url":"https://api.github.com/users/SJPMechaEagles/received_events","type":"Organization","site_admin":false},"repo":{"id":101079218,"name":"InTheZoneA","full_name":"SJPMechaEagles/InTheZoneA","owner":{"login":"SJPMechaEagles","id":31250355,"avatar_url":"https://avatars0.githubusercontent.com/u/31250355?v=4","gravatar_id":"","url":"https://api.github.com/users/SJPMechaEagles","html_url":"https://github.com/SJPMechaEagles","followers_url":"https://api.github.com/users/SJPMechaEagles/followers","following_url":"https://api.github.com/users/SJPMechaEagles/following{/other_user}","gists_url":"https://api.github.com/users/SJPMechaEagles/gists{/gist_id}","starred_url":"https://api.github.com/users/SJPMechaEagles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SJPMechaEagles/subscriptions","organizations_url":"https://api.github.com/users/SJPMechaEagles/orgs","repos_url":"https://api.github.com/users/SJPMechaEagles/repos","events_url":"https://api.github.com/users/SJPMechaEagles/events{/privacy}","received_events_url":"https://api.github.com/users/SJPMechaEagles/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SJPMechaEagles/InTheZoneA","description":"Team A code","fork":false,"url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA","forks_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/forks","keys_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/teams","hooks_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/hooks","issue_events_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/issues/events{/number}","events_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/events","assignees_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/assignees{/user}","branches_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/branches{/branch}","tags_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/tags","blobs_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/git/refs{/sha}","trees_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/statuses/{sha}","languages_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/languages","stargazers_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/stargazers","contributors_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/contributors","subscribers_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/subscribers","subscription_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/subscription","commits_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/commits{/sha}","git_commits_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/git/commits{/sha}","comments_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/comments{/number}","issue_comment_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/issues/comments{/number}","contents_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/contents/{+path}","compare_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/merges","archive_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/downloads","issues_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/issues{/number}","pulls_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/pulls{/number}","milestones_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/milestones{/number}","notifications_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/labels{/name}","releases_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/releases{/id}","deployments_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/deployments","created_at":"2017-08-22T15:35:59Z","updated_at":"2017-11-25T02:04:55Z","pushed_at":"2018-03-05T01:48:29Z","git_url":"git://github.com/SJPMechaEagles/InTheZoneA.git","ssh_url":"git@github.com:SJPMechaEagles/InTheZoneA.git","clone_url":"https://github.com/SJPMechaEagles/InTheZoneA.git","svn_url":"https://github.com/SJPMechaEagles/InTheZoneA","homepage":null,"size":44007,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"SJPMechaEagles:master","ref":"master","sha":"30b829048cbe2b796e52e1bcd03b0f430f80cd91","user":{"login":"SJPMechaEagles","id":31250355,"avatar_url":"https://avatars0.githubusercontent.com/u/31250355?v=4","gravatar_id":"","url":"https://api.github.com/users/SJPMechaEagles","html_url":"https://github.com/SJPMechaEagles","followers_url":"https://api.github.com/users/SJPMechaEagles/followers","following_url":"https://api.github.com/users/SJPMechaEagles/following{/other_user}","gists_url":"https://api.github.com/users/SJPMechaEagles/gists{/gist_id}","starred_url":"https://api.github.com/users/SJPMechaEagles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SJPMechaEagles/subscriptions","organizations_url":"https://api.github.com/users/SJPMechaEagles/orgs","repos_url":"https://api.github.com/users/SJPMechaEagles/repos","events_url":"https://api.github.com/users/SJPMechaEagles/events{/privacy}","received_events_url":"https://api.github.com/users/SJPMechaEagles/received_events","type":"Organization","site_admin":false},"repo":{"id":101079218,"name":"InTheZoneA","full_name":"SJPMechaEagles/InTheZoneA","owner":{"login":"SJPMechaEagles","id":31250355,"avatar_url":"https://avatars0.githubusercontent.com/u/31250355?v=4","gravatar_id":"","url":"https://api.github.com/users/SJPMechaEagles","html_url":"https://github.com/SJPMechaEagles","followers_url":"https://api.github.com/users/SJPMechaEagles/followers","following_url":"https://api.github.com/users/SJPMechaEagles/following{/other_user}","gists_url":"https://api.github.com/users/SJPMechaEagles/gists{/gist_id}","starred_url":"https://api.github.com/users/SJPMechaEagles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SJPMechaEagles/subscriptions","organizations_url":"https://api.github.com/users/SJPMechaEagles/orgs","repos_url":"https://api.github.com/users/SJPMechaEagles/repos","events_url":"https://api.github.com/users/SJPMechaEagles/events{/privacy}","received_events_url":"https://api.github.com/users/SJPMechaEagles/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SJPMechaEagles/InTheZoneA","description":"Team A code","fork":false,"url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA","forks_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/forks","keys_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/teams","hooks_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/hooks","issue_events_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/issues/events{/number}","events_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/events","assignees_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/assignees{/user}","branches_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/branches{/branch}","tags_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/tags","blobs_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/git/refs{/sha}","trees_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/statuses/{sha}","languages_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/languages","stargazers_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/stargazers","contributors_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/contributors","subscribers_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/subscribers","subscription_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/subscription","commits_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/commits{/sha}","git_commits_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/git/commits{/sha}","comments_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/comments{/number}","issue_comment_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/issues/comments{/number}","contents_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/contents/{+path}","compare_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/merges","archive_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/downloads","issues_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/issues{/number}","pulls_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/pulls{/number}","milestones_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/milestones{/number}","notifications_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/labels{/name}","releases_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/releases{/id}","deployments_url":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/deployments","created_at":"2017-08-22T15:35:59Z","updated_at":"2017-11-25T02:04:55Z","pushed_at":"2018-03-05T01:48:29Z","git_url":"git://github.com/SJPMechaEagles/InTheZoneA.git","ssh_url":"git@github.com:SJPMechaEagles/InTheZoneA.git","clone_url":"https://github.com/SJPMechaEagles/InTheZoneA.git","svn_url":"https://github.com/SJPMechaEagles/InTheZoneA","homepage":null,"size":44007,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/pulls/3"},"html":{"href":"https://github.com/SJPMechaEagles/InTheZoneA/pull/3"},"issue":{"href":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/issues/3"},"comments":{"href":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/SJPMechaEagles/InTheZoneA/statuses/c269976785e9c7876cdd4a0fcd93a92ebc7abfbc"}},"author_association":"OWNER"}}
{"actor":{"display_login":"codacy-bot"}}