jeremyscalpello / chip-gpio

GPIO access for CHIP and Node.JS
MIT License
36 stars 12 forks source link

Fixes for issue #4 #5

Closed nkolban closed 8 years ago

nkolban commented 8 years ago

This is a pull request for fixing issue #4 .

Support added for 4.4 kernels by detecting whether we are on 4.3 or 4.4 and mapping appropriately.

jeremyscalpello commented 8 years ago

Thanks for the work you put into this. I can't test because I still don't have a new CHIP, but the code looks good.

nkolban commented 8 years ago

No probs my friend. You wrote good code and it was a simple fix. I am running the 4.4 kernel and your package worked great after these changes with the new mapping of the I/O addresses.