{"action":"created","issue":{"url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1668","labels_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1668/labels{/name}","comments_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1668/comments","events_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1668/events","html_url":"https://github.com/cleanflight/cleanflight/pull/1668","id":125819315,"number":1668,"title":"Refactor IS_RC_MODE_ACTIVE","user":{"login":"ledvinap","id":2318015,"avatar_url":"https://avatars.githubusercontent.com/u/2318015?v=3","gravatar_id":"","url":"https://api.github.com/users/ledvinap","html_url":"https://github.com/ledvinap","followers_url":"https://api.github.com/users/ledvinap/followers","following_url":"https://api.github.com/users/ledvinap/following{/other_user}","gists_url":"https://api.github.com/users/ledvinap/gists{/gist_id}","starred_url":"https://api.github.com/users/ledvinap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ledvinap/subscriptions","organizations_url":"https://api.github.com/users/ledvinap/orgs","repos_url":"https://api.github.com/users/ledvinap/repos","events_url":"https://api.github.com/users/ledvinap/events{/privacy}","received_events_url":"https://api.github.com/users/ledvinap/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cleanflight/cleanflight/labels/cleanup","name":"cleanup","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-01-10T13:33:51Z","updated_at":"2016-01-12T18:56:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cleanflight/cleanflight/pulls/1668","html_url":"https://github.com/cleanflight/cleanflight/pull/1668","diff_url":"https://github.com/cleanflight/cleanflight/pull/1668.diff","patch_url":"https://github.com/cleanflight/cleanflight/pull/1668.patch"},"body":"Refactored to RC_MODE to match `features()`, `FLIGHT_MODE()`, etc.\r\n\r\n@hydra, what do you think?\r\n\r\nMaybe it would be even better to change it into function (rcMode()). With LTO there is no gain from using macros and functions have a bit better compile-time checking. Also internals (rcModeActivationMask) may be hidden"},"comment":{"url":"https://api.github.com/repos/cleanflight/cleanflight/issues/comments/171014746","html_url":"https://github.com/cleanflight/cleanflight/pull/1668#issuecomment-171014746","issue_url":"https://api.github.com/repos/cleanflight/cleanflight/issues/1668","id":171014746,"user":{"login":"hydra","id":57075,"avatar_url":"https://avatars.githubusercontent.com/u/57075?v=3","gravatar_id":"","url":"https://api.github.com/users/hydra","html_url":"https://github.com/hydra","followers_url":"https://api.github.com/users/hydra/followers","following_url":"https://api.github.com/users/hydra/following{/other_user}","gists_url":"https://api.github.com/users/hydra/gists{/gist_id}","starred_url":"https://api.github.com/users/hydra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hydra/subscriptions","organizations_url":"https://api.github.com/users/hydra/orgs","repos_url":"https://api.github.com/users/hydra/repos","events_url":"https://api.github.com/users/hydra/events{/privacy}","received_events_url":"https://api.github.com/users/hydra/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T18:56:18Z","updated_at":"2016-01-12T18:56:18Z","body":"yup, prefer it."}}