commit | d6ff3d50872f59745d8b5efc970dc85ee2a4ab04 | [log] [tgz] |
---|---|---|
author | Daniel Petti <djpetti@me.com> | Thu Jan 02 11:24:39 2014 -0800 |
committer | Daniel Petti <djpetti@me.com> | Thu Jan 02 11:24:39 2014 -0800 |
tree | 06f0eb34513a0d1a072b600a5b4fb5d2c4427e0f | |
parent | fc52839378973628f117dbc587ba589266c18a75 [diff] |
Clean up gpio code. - Break out the input and output components into separate subclasses. - Fix some styleguide issues, including adding more useful comments. - Make stuff return bool instead of int like it should. - Make the API simpler. - Make failure to export or set pin direction FATAL. (The rational for this is in the comments.) It compiles, but remains untested.