summaryrefslogtreecommitdiff
path: root/bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'bus.c')
-rw-r--r--bus.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bus.c b/bus.c
index 1c77e70..b3ac833 100644
--- a/bus.c
+++ b/bus.c
@@ -389,6 +389,12 @@ void bus_init()
// the POWER_FAIL pin is an input
gpio_changedirection(gpio_pins[POWER_FAIL], false);
+
+ // reset the TNT4882 chip
+ bus_setpin(RST_GPIB, 0);
+ g_usleep(10);
+ bus_setpin(RST_GPIB, 1);
+ g_usleep(10);
}
}