summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bus.c b/bus.c
index 3875851..38298d0 100644
--- a/bus.c
+++ b/bus.c
@@ -350,6 +350,8 @@ void bus_init()
int i;
for (i = 0; i < SIZEOFARRAY(gpio_pins); i++) {
+ // these pins all happen to default to the correct mode (7)
+ // so no call to pinmux_configurepin is necessary
gpio_export(gpio_pins[i]);
gpio_changedirection(gpio_pins[i], true);
}