{"comment":{"url":"https://api.github.com/repos/johnnyman727/accel-mma84-rust/comments/9991120","html_url":"https://github.com/johnnyman727/accel-mma84-rust/commit/a2b0d5b9f27dd1bd1b51b7b4077cf7c551fa623d#commitcomment-9991120","id":9991120,"user":{"login":"johnnyman727","id":432909,"avatar_url":"https://avatars.githubusercontent.com/u/432909?v=3","gravatar_id":"","url":"https://api.github.com/users/johnnyman727","html_url":"https://github.com/johnnyman727","followers_url":"https://api.github.com/users/johnnyman727/followers","following_url":"https://api.github.com/users/johnnyman727/following{/other_user}","gists_url":"https://api.github.com/users/johnnyman727/gists{/gist_id}","starred_url":"https://api.github.com/users/johnnyman727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnnyman727/subscriptions","organizations_url":"https://api.github.com/users/johnnyman727/orgs","repos_url":"https://api.github.com/users/johnnyman727/repos","events_url":"https://api.github.com/users/johnnyman727/events{/privacy}","received_events_url":"https://api.github.com/users/johnnyman727/received_events","type":"User","site_admin":false},"position":57,"line":57,"path":"src/lib.rs","commit_id":"a2b0d5b9f27dd1bd1b51b7b4077cf7c551fa623d","created_at":"2015-03-02T18:26:26Z","updated_at":"2015-03-02T18:26:26Z","body":"These two `port.run`s should be abstracted out to:\r\n```.rs\r\nself.port.i2c_receive(I2C_ADDRESS, &mut reg_current_state);\r\nself.port.i2c_send(I2C_ADDRESS, &[CTRL_REG1, reg_current_state[0] | active_bit]);\r\n```"}}