rs

FTDI serial communication program
git clone git://git.2f30.org/rs.git
Log | Files | Refs | README | LICENSE

commit 835f117d10238cb1f12d4fda9ca822e8fd4f3a61
parent c8e5102858f4231fc2ce7fa0c4bc07c68b9f1461
Author: sin <sin@2f30.org>
Date:   Fri Nov 15 14:35:25 +0000

Register signal handler before tty setup

Diffstat:
rs.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rs.c b/rs.c @@ -179,8 +179,8 @@ main(int argc, char *argv[]) printf("Break key is set to ^\\\n"); - ttyinit(); signal(SIGQUIT, interrupt); + ttyinit(); loop(); ttyrestore(); ftdi_usb_close(&ftdictx);