Oops. As predicted, slight screwup in that diff. Here's a context diff that
hopefully makes things clearer:
*** index.js.original Sat Jan 1 02:28:08 2000
--- index.js Sat Jan 1 01:27:38 2000
***************
*** 264,271 ****
// Enable GPIO, if not already done
var n = pin.gpio;
if(mux == 7) {
! if(!gpio[n] || !gpio[n].path) {
gpio[n] = {'path': gpioFile};
// Export the GPIO controls
var exists = file_existsSync(gpioFile);
--- 264,272 ----
// Enable GPIO, if not already done
var n = pin.gpio;
if(mux == 7) {
! if(!gpio[n] || !gpio[n].path || !gpio[n].direction ||
gpio[n].direction != direction) {
gpio[n] = {'path': gpioFile};
+ gpio[n].direction = direction;
// Export the GPIO controls
var exists = file_existsSync(gpioFile);
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.