CreatorDev / LetMeCreateIoT

LetMeCreate library for the PIC32MX clicker
BSD 3-Clause "New" or "Revised" License
5 stars 8 forks source link

gpio: Make gpio_get_pin returns 0 if successful #13

Closed ghost closed 7 years ago

ghost commented 7 years ago

The pin number was returned instead of 0 and the pin parameter was not set.

Signed-off-by: Francois Berder francois.berder@imgtec.com