chiark / gitweb /
Botched the ALT order in gpio )-:
authorGordon Henderson <projects@drogon.net>
Sat, 2 Feb 2013 20:33:51 +0000 (20:33 +0000)
committerGordon Henderson <projects@drogon.net>
Sat, 2 Feb 2013 20:33:51 +0000 (20:33 +0000)
(Or maybe Broadcom did!!!)

gpio/gpio.c

index 6c0bf89a59f77af551dda8037f32e96bb0df8152..8d61957d07e5757c8ba8f7b3ad362f91eb4f07f9 100644 (file)
@@ -212,7 +212,7 @@ static char *pinNames [] =
 
 static char *alts [] =
 {
-  "IN  ", "OUT ", "ALT0", "ALT1", "ALT2", "ALT3", "ALT4", "ALT5", "XXXX"
+  "IN  ", "OUT ", "ALT5", "ALT4", "ALT0", "ALT1", "ALT2", "ALT3"
 } ;
 
 static void doReadall (void)