{"action":"created","issue":{"url":"https://api.github.com/repos/digitalentity/cleanflight/issues/33","labels_url":"https://api.github.com/repos/digitalentity/cleanflight/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/digitalentity/cleanflight/issues/33/comments","events_url":"https://api.github.com/repos/digitalentity/cleanflight/issues/33/events","html_url":"https://github.com/digitalentity/cleanflight/issues/33","id":101816892,"number":33,"title":"nav_rth_altitude variable type too small","user":{"login":"csurf","id":627526,"avatar_url":"https://avatars.githubusercontent.com/u/627526?v=3","gravatar_id":"","url":"https://api.github.com/users/csurf","html_url":"https://github.com/csurf","followers_url":"https://api.github.com/users/csurf/followers","following_url":"https://api.github.com/users/csurf/following{/other_user}","gists_url":"https://api.github.com/users/csurf/gists{/gist_id}","starred_url":"https://api.github.com/users/csurf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csurf/subscriptions","organizations_url":"https://api.github.com/users/csurf/orgs","repos_url":"https://api.github.com/users/csurf/repos","events_url":"https://api.github.com/users/csurf/events{/privacy}","received_events_url":"https://api.github.com/users/csurf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-19T06:28:33Z","updated_at":"2015-08-19T06:42:09Z","closed_at":null,"body":"nav_rth_altitude variable is defined as UINT8, which is too small to accommodate practical altitude values in centimeters. Eg., a height value of 20m would be '2000cm', which obviously won't fit into an unsigned char. Changing the definition to UINT16 solves the problem."},"comment":{"url":"https://api.github.com/repos/digitalentity/cleanflight/issues/comments/132463518","html_url":"https://github.com/digitalentity/cleanflight/issues/33#issuecomment-132463518","issue_url":"https://api.github.com/repos/digitalentity/cleanflight/issues/33","id":132463518,"user":{"login":"digitalentity","id":11059099,"avatar_url":"https://avatars.githubusercontent.com/u/11059099?v=3","gravatar_id":"","url":"https://api.github.com/users/digitalentity","html_url":"https://github.com/digitalentity","followers_url":"https://api.github.com/users/digitalentity/followers","following_url":"https://api.github.com/users/digitalentity/following{/other_user}","gists_url":"https://api.github.com/users/digitalentity/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalentity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalentity/subscriptions","organizations_url":"https://api.github.com/users/digitalentity/orgs","repos_url":"https://api.github.com/users/digitalentity/repos","events_url":"https://api.github.com/users/digitalentity/events{/privacy}","received_events_url":"https://api.github.com/users/digitalentity/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T06:42:09Z","updated_at":"2015-08-19T06:42:09Z","body":"Oops! I was thinking this viable would be in meters when I decided to use\nuint8. After that I changed the units but never changed the data type.\nThanks, will fix this asap.\n"}}