diff options
Diffstat (limited to 'bus.c')
-rw-r--r-- | bus.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -356,6 +356,11 @@ void bus_init() gpio_export(gpio_pins[i]); gpio_changedirection(gpio_pins[i], true); } + + // FIXME: make this more elegant + // + // the POWER_FAIL pin is an input + gpio_changedirection(gpio_pins[POWER_FAIL], false); } } |