diff options
| author | Tim Redfern <tim@eclectronics.org> | 2012-06-07 22:33:49 +0100 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2012-06-07 22:33:49 +0100 |
| commit | 0fd5f0fec593e3417260fc6bf59c8646c3afcbc8 (patch) | |
| tree | 1f8692085c52e8694eff6c170508fbaa9273d51b | |
| parent | b6d6289b59a13547e9511573d70f412550874268 (diff) | |
fixed direction bug output
| -rw-r--r-- | src/overo_gpioin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/overo_gpioin.c b/src/overo_gpioin.c index cbbf29a..ce36149 100644 --- a/src/overo_gpioin.c +++ b/src/overo_gpioin.c @@ -70,7 +70,7 @@ void *overo_gpioin_new(t_floatarg f) x->gpioNum=nums[min(1,max(0,((int) f)-1))]; //maps switch number to GPIO number post("overo_gpoin: using GPIO(%d): switch %d\n",x->gpioNum,min(2,max(1,(int) f))); sprintf(x->inputfile,"/sys/class/gpio/gpio%d/value",x->gpioNum); - post("inputfile: %s\n",x->inputfile); + //post("inputfile: %s\n",x->inputfile); char gpionum[4]; sprintf(gpionum,"%d",x->gpioNum); |
