summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Redfern <tim@eclectronics.org>2012-06-07 22:14:23 +0100
committerTim Redfern <tim@eclectronics.org>2012-06-07 22:14:23 +0100
commit2a08f731909e8f7d4b319b320ebe227bd46b260a (patch)
treed89ab6a7c77ccabb8c42203c501322cd41d35995
parentd3e5a559e4d53ce7c48e7eee60d2dd8928f012a8 (diff)
fixed direction bug output
-rw-r--r--src/overo_gpioout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/overo_gpioout.c b/src/overo_gpioout.c
index 260308b..f2eb3ae 100644
--- a/src/overo_gpioout.c
+++ b/src/overo_gpioout.c
@@ -92,7 +92,7 @@ void *overo_gpioout_new(t_floatarg f)
// error( "Unable to open outfile" );
// exit( 1 );
//}
- t=fwrite( '0', sizeof(char), 1, x->fs );
+ t=fwrite( "0", sizeof(char), 1, x->fs );
x->set=0;
fclose(x->fs);
return (void *)x;