{"action":"created","issue":{"url":"https://api.github.com/repos/TauLabs/TauLabs/issues/1680","labels_url":"https://api.github.com/repos/TauLabs/TauLabs/issues/1680/labels{/name}","comments_url":"https://api.github.com/repos/TauLabs/TauLabs/issues/1680/comments","events_url":"https://api.github.com/repos/TauLabs/TauLabs/issues/1680/events","html_url":"https://github.com/TauLabs/TauLabs/pull/1680","id":89942349,"number":1680,"title":"FOR REVIEW: autotune: Reduce stack usage by ~344 bytes.","user":{"login":"mlyle","id":90903,"avatar_url":"https://avatars.githubusercontent.com/u/90903?v=3","gravatar_id":"","url":"https://api.github.com/users/mlyle","html_url":"https://github.com/mlyle","followers_url":"https://api.github.com/users/mlyle/followers","following_url":"https://api.github.com/users/mlyle/following{/other_user}","gists_url":"https://api.github.com/users/mlyle/gists{/gist_id}","starred_url":"https://api.github.com/users/mlyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlyle/subscriptions","organizations_url":"https://api.github.com/users/mlyle/orgs","repos_url":"https://api.github.com/users/mlyle/repos","events_url":"https://api.github.com/users/mlyle/events{/privacy}","received_events_url":"https://api.github.com/users/mlyle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-21T18:16:05Z","updated_at":"2015-06-22T06:45:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/TauLabs/TauLabs/pulls/1680","html_url":"https://github.com/TauLabs/TauLabs/pull/1680","diff_url":"https://github.com/TauLabs/TauLabs/pull/1680.diff","patch_url":"https://github.com/TauLabs/TauLabs/pull/1680.patch"},"body":"I have only tested this in simulator, not on hardware, and me getting to do this before I depart is unlikely.  So I'm putting this up as a useful WIP that could be proved innocent and merged.\r\n\r\nStack analysis from -fstack-usage reported that before the function AutotuneTask used 1280 bytes.  Now it's 936.  I only reduced the stack size of the task by 300 bytes.\r\n\r\nI hope this could make autotune work on CC3D again."},"comment":{"url":"https://api.github.com/repos/TauLabs/TauLabs/issues/comments/114021856","html_url":"https://github.com/TauLabs/TauLabs/pull/1680#issuecomment-114021856","issue_url":"https://api.github.com/repos/TauLabs/TauLabs/issues/1680","id":114021856,"user":{"login":"mlyle","id":90903,"avatar_url":"https://avatars.githubusercontent.com/u/90903?v=3","gravatar_id":"","url":"https://api.github.com/users/mlyle","html_url":"https://github.com/mlyle","followers_url":"https://api.github.com/users/mlyle/followers","following_url":"https://api.github.com/users/mlyle/following{/other_user}","gists_url":"https://api.github.com/users/mlyle/gists{/gist_id}","starred_url":"https://api.github.com/users/mlyle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlyle/subscriptions","organizations_url":"https://api.github.com/users/mlyle/orgs","repos_url":"https://api.github.com/users/mlyle/repos","events_url":"https://api.github.com/users/mlyle/events{/privacy}","received_events_url":"https://api.github.com/users/mlyle/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T06:45:43Z","updated_at":"2015-06-22T06:45:43Z","body":"Disabling mainport telem is enough to prevent reboot loops according to IRC, but not to arm.\r\n\r\nSo I scraped up a few slivers of memory from stabilization hoping it helps."}}