From: Gordon Henderson Date: Sat, 2 Feb 2013 20:33:51 +0000 (+0000) Subject: Botched the ALT order in gpio )-: X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;ds=sidebyside;h=4c8862eac9089b7d7395686b4a13dec40ca5be6a;p=wiringPi.git Botched the ALT order in gpio )-: (Or maybe Broadcom did!!!) --- diff --git a/gpio/gpio.c b/gpio/gpio.c index 6c0bf89..8d61957 100644 --- a/gpio/gpio.c +++ b/gpio/gpio.c @@ -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)