Slight change to the gpio program to fix SPI buffer size when loading
the module.
Typo in gpio man page
Bug fixed in board revision detection (which would never happen
anyway, however)
diff --git a/gpio/gpio.c b/gpio/gpio.c
index 8d61957..e71e432 100644
--- a/gpio/gpio.c
+++ b/gpio/gpio.c
@@ -42,7 +42,7 @@
# define FALSE (1==2)
#endif
-#define VERSION "1.11"
+#define VERSION "1.12"
static int wpMode ;
@@ -152,7 +152,7 @@
file1 = "/dev/spidev0.0" ;
file2 = "/dev/spidev0.1" ;
if (argc == 4)
- sprintf (args1, " bufsize=%d", atoi (argv [3]) * 1024) ;
+ sprintf (args1, " bufsiz=%d", atoi (argv [3]) * 1024) ;
else if (argc > 4)
_doLoadUsage (argv) ;
}