xpertsavenue / WiringOP-Zero

WiringPi / WiringOP libary for the Orange Pi Zero with 26 pin GPIO header
GNU Lesser General Public License v3.0
173 stars 82 forks source link

removed the code that was added for BananaPro #12

Closed KVAnton-WEB closed 7 years ago

KVAnton-WEB commented 7 years ago

fixed: removed the code "if (pin == 0) printf(...); return;" - add for BananaPro by LeMaker team <-- OrangePi ZERO has 0 pin (h2+ =0, wPi=2, Phy=13). For example, because of this code, interrupts to 0-pin do not work "gpio edge 0 falling" or in the code "wiringPiISR (2, INT_EDGE_FALLING, my_interrupt );"