{"comment":{"url":"https://api.github.com/repos/cleanflight/cleanflight/comments/9256248","html_url":"https://github.com/cleanflight/cleanflight/commit/b6ac9204d388e3025db02da4534d286aa08ff3f0#commitcomment-9256248","id":9256248,"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},"position":7,"line":341,"path":"src/main/drivers/pwm_mapping.c","commit_id":"b6ac9204d388e3025db02da4534d286aa08ff3f0","created_at":"2015-01-13T09:16:27Z","updated_at":"2015-01-13T09:16:27Z","body":"Yes. The Pin_X comes from the cleanflight gpio enum but  GPIO_Pin_X are needed by the WS2811 initialisation.  Its a workaround while there these two definitions for gpio pins, I felt it would be confusing and wrong to compare a Pin_X to a GPIO_Pin_X value so I used pinsource instead."}}