{"action":"created","issue":{"url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1492","labels_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1492/labels{/name}","comments_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1492/comments","events_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1492/events","html_url":"https://github.com/cleanflight/cleanflight/issues/1492","id":116925798,"number":1492,"title":"Invalid  cycle_time  calculation","user":{"login":"DreamNik","id":1586959,"avatar_url":"https://avatars.githubusercontent.com/u/1586959?v=3","gravatar_id":"","url":"https://api.github.com/users/DreamNik","html_url":"https://github.com/DreamNik","followers_url":"https://api.github.com/users/DreamNik/followers","following_url":"https://api.github.com/users/DreamNik/following{/other_user}","gists_url":"https://api.github.com/users/DreamNik/gists{/gist_id}","starred_url":"https://api.github.com/users/DreamNik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DreamNik/subscriptions","organizations_url":"https://api.github.com/users/DreamNik/orgs","repos_url":"https://api.github.com/users/DreamNik/repos","events_url":"https://api.github.com/users/DreamNik/events{/privacy}","received_events_url":"https://api.github.com/users/DreamNik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-14T13:48:42Z","updated_at":"2015-11-14T14:02:06Z","closed_at":null,"body":"Hi!\r\nI'm working on compiling Cleanflight to run on PC.\r\nI've noticed that on first loop the \"cycleTime\" variable is very small (12-18, compared to expected 3500).\r\n\r\nIs this normal?\r\n\r\nAlmost always it lead to arithmetic exception in function \"filterRc\"  https://github.com/cleanflight/cleanflight/blob/master/src/main/mw.c#L681   due to small \"cycleTime\".\r\n"},"comment":{"url":"https://api.github.com/repos/cleanflight/cleanflight/issues/comments/156698255","html_url":"https://github.com/cleanflight/cleanflight/issues/1492#issuecomment-156698255","issue_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1492","id":156698255,"user":{"login":"DreamNik","id":1586959,"avatar_url":"https://avatars.githubusercontent.com/u/1586959?v=3","gravatar_id":"","url":"https://api.github.com/users/DreamNik","html_url":"https://github.com/DreamNik","followers_url":"https://api.github.com/users/DreamNik/followers","following_url":"https://api.github.com/users/DreamNik/following{/other_user}","gists_url":"https://api.github.com/users/DreamNik/gists{/gist_id}","starred_url":"https://api.github.com/users/DreamNik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DreamNik/subscriptions","organizations_url":"https://api.github.com/users/DreamNik/orgs","repos_url":"https://api.github.com/users/DreamNik/repos","events_url":"https://api.github.com/users/DreamNik/events{/privacy}","received_events_url":"https://api.github.com/users/DreamNik/received_events","type":"User","site_admin":false},"created_at":"2015-11-14T14:02:06Z","updated_at":"2015-11-14T14:02:06Z","body":"Ok, I've changed \"cycleTime\" calculation algorithm.\r\nSo please, please and please check if this won't cause any problems on real hardware!\r\nOn PC now it's perfectly calculated around 3500.\r\n\r\nhttps://github.com/DreamNik/cleanflight/commit/14461c512fc8f536d06db0baaf555a2b955b2811"}}