WiringPi / WiringPi-Node

Node.js bindings to wiringPi
334 stars 94 forks source link

Check spi channel allow condition #10

Closed ivorycirrus closed 9 years ago

ivorycirrus commented 10 years ago

Fix logical operator in checking spi channel statement. There is use 'and(&&)' condition instead of 'or(||)' condition to allow 0 and 1 values.

nekuz0r commented 9 years ago

Fixed in v2.0.0, thx