From 9bcebd97586634c2589723bd6b4255ac28c4cfd0 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Wed, 28 Nov 2012 10:34:43 +0100 Subject: [PATCH] tools: Wait an extra second before opening the TTY --- tools/tty-redirector.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/tty-redirector.c b/tools/tty-redirector.c index 9aec05c3..b015a259 100644 --- a/tools/tty-redirector.c +++ b/tools/tty-redirector.c @@ -266,6 +266,7 @@ static gboolean accept_handler(GIOChannel *channel, GIOCondition cond, write_file(IFX_RESET_PATH, "1"); sleep(1); write_file(IFX_RESET_PATH, "0"); + sleep(1); } device_fd = open_device(option_device);