{"action":"created","issue":{"url":"https://api.github.com/repos/opentx/opentx/issues/5298","repository_url":"https://api.github.com/repos/opentx/opentx","labels_url":"https://api.github.com/repos/opentx/opentx/issues/5298/labels{/name}","comments_url":"https://api.github.com/repos/opentx/opentx/issues/5298/comments","events_url":"https://api.github.com/repos/opentx/opentx/issues/5298/events","html_url":"https://github.com/opentx/opentx/issues/5298","id":267478513,"number":5298,"title":"Is there a change in the behavior of the reset action in special functions in 2.2.0?","user":{"login":"pau33","id":19154380,"avatar_url":"https://avatars1.githubusercontent.com/u/19154380?v=4","gravatar_id":"","url":"https://api.github.com/users/pau33","html_url":"https://github.com/pau33","followers_url":"https://api.github.com/users/pau33/followers","following_url":"https://api.github.com/users/pau33/following{/other_user}","gists_url":"https://api.github.com/users/pau33/gists{/gist_id}","starred_url":"https://api.github.com/users/pau33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pau33/subscriptions","organizations_url":"https://api.github.com/users/pau33/orgs","repos_url":"https://api.github.com/users/pau33/repos","events_url":"https://api.github.com/users/pau33/events{/privacy}","received_events_url":"https://api.github.com/users/pau33/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-22T16:28:44Z","updated_at":"2017-10-23T20:28:36Z","closed_at":null,"author_association":"NONE","body":"I am now trying to switch from 2.1.9 to 2.2.0 (X9D+) and are stepping into several problems.\r\nOne of that:\r\n- I have a special function, which resets my GPS-Sensor signal by a switch. This reset ist caught by my lua to set an new origin. In 2.1.9  as long es pulled the switch, the GPS-Signal was 0. Now in 2.2.0 it only resets the GPS for a very short time, it will come back, even I have not released the switch. That time is not sufficient for my lua script, yet.\r\n\r\nIs this a the new valid behavior or a bug? If it is the new behavior, how can I reset the GPS as long, as I pull my switch?\r\nThank You in advance."},"comment":{"url":"https://api.github.com/repos/opentx/opentx/issues/comments/338786482","html_url":"https://github.com/opentx/opentx/issues/5298#issuecomment-338786482","issue_url":"https://api.github.com/repos/opentx/opentx/issues/5298","id":338786482,"user":{"login":"pau33","id":19154380,"avatar_url":"https://avatars1.githubusercontent.com/u/19154380?v=4","gravatar_id":"","url":"https://api.github.com/users/pau33","html_url":"https://github.com/pau33","followers_url":"https://api.github.com/users/pau33/followers","following_url":"https://api.github.com/users/pau33/following{/other_user}","gists_url":"https://api.github.com/users/pau33/gists{/gist_id}","starred_url":"https://api.github.com/users/pau33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pau33/subscriptions","organizations_url":"https://api.github.com/users/pau33/orgs","repos_url":"https://api.github.com/users/pau33/repos","events_url":"https://api.github.com/users/pau33/events{/privacy}","received_events_url":"https://api.github.com/users/pau33/received_events","type":"User","site_admin":false},"created_at":"2017-10-23T20:28:36Z","updated_at":"2017-10-23T20:28:36Z","author_association":"NONE","body":"From further inspection, it look's to me, as if the reset is so short, that the GPS-Sensor ...\r\n - is only partially resetted (lat or lon)\r\n - or resetted and partially populated, when the lua mix script reads it's value in a new round\r\n\r\nI resolved this situation for me in lua in a way, that I do not trigger on the reset any longer.\r\nBut I think, we should now, whether this behavior is intended in this way, as you won't be able now to reset a value for a longer or desired time-period."}}
{"actor":{"display_login":"pau33"}}