From 2a08f731909e8f7d4b319b320ebe227bd46b260a Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Thu, 7 Jun 2012 22:14:23 +0100 Subject: fixed direction bug output --- src/overo_gpioout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3