{"action":"created","issue":{"url":"https://api.github.com/repos/wiringX/wiringX/issues/91","repository_url":"https://api.github.com/repos/wiringX/wiringX","labels_url":"https://api.github.com/repos/wiringX/wiringX/issues/91/labels{/name}","comments_url":"https://api.github.com/repos/wiringX/wiringX/issues/91/comments","events_url":"https://api.github.com/repos/wiringX/wiringX/issues/91/events","html_url":"https://github.com/wiringX/wiringX/pull/91","id":212196574,"number":91,"title":"support any spi device and channel number","user":{"login":"Artox","id":913051,"avatar_url":"https://avatars2.githubusercontent.com/u/913051?v=4","gravatar_id":"","url":"https://api.github.com/users/Artox","html_url":"https://github.com/Artox","followers_url":"https://api.github.com/users/Artox/followers","following_url":"https://api.github.com/users/Artox/following{/other_user}","gists_url":"https://api.github.com/users/Artox/gists{/gist_id}","starred_url":"https://api.github.com/users/Artox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Artox/subscriptions","organizations_url":"https://api.github.com/users/Artox/orgs","repos_url":"https://api.github.com/users/Artox/repos","events_url":"https://api.github.com/users/Artox/events{/privacy}","received_events_url":"https://api.github.com/users/Artox/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":68,"created_at":"2017-03-06T17:40:35Z","updated_at":"2018-04-15T10:00:42Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/wiringX/wiringX/pulls/91","html_url":"https://github.com/wiringX/wiringX/pull/91","diff_url":"https://github.com/wiringX/wiringX/pull/91.diff","patch_url":"https://github.com/wiringX/wiringX/pull/91.patch"},"body":" - Modify API to always take the spi device number as an argument\r\n - Keep the SPI state in a linked list rather than a static array\r\n\r\nNOTE: not fully tested!"},"comment":{"url":"https://api.github.com/repos/wiringX/wiringX/issues/comments/381394346","html_url":"https://github.com/wiringX/wiringX/pull/91#issuecomment-381394346","issue_url":"https://api.github.com/repos/wiringX/wiringX/issues/91","id":381394346,"user":{"login":"Artox","id":913051,"avatar_url":"https://avatars2.githubusercontent.com/u/913051?v=4","gravatar_id":"","url":"https://api.github.com/users/Artox","html_url":"https://github.com/Artox","followers_url":"https://api.github.com/users/Artox/followers","following_url":"https://api.github.com/users/Artox/following{/other_user}","gists_url":"https://api.github.com/users/Artox/gists{/gist_id}","starred_url":"https://api.github.com/users/Artox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Artox/subscriptions","organizations_url":"https://api.github.com/users/Artox/orgs","repos_url":"https://api.github.com/users/Artox/repos","events_url":"https://api.github.com/users/Artox/events{/privacy}","received_events_url":"https://api.github.com/users/Artox/received_events","type":"User","site_admin":false},"created_at":"2018-04-15T10:00:42Z","updated_at":"2018-04-15T10:00:42Z","author_association":"CONTRIBUTOR","body":"So what do you propose would the API look like?\r\nEXPORT int wiringXSPIClose(int handle)\r\n\r\nThe datastructure does not support resizing storage afterwards, because the handle is an index in the array.\r\nSo we can only do close() on the fd, and set it to 0."}}
{"actor":{"display_login":"Artox"}}