aboutsummaryrefslogtreecommitdiffstats
path: root/tools/abcprintd.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-01-18 16:44:30 -0800
committerH. Peter Anvin <hpa@zytor.com>2009-01-18 16:44:30 -0800
commit0bbb0f26d29c19cfb44e8555b2101ec4a420c5b3 (patch)
treedd7ac5ddf0a83639e432e22708c939da741d03ba /tools/abcprintd.c
parentb695f141475de6c91894afe137017f4767a7fef4 (diff)
downloadabc80-0bbb0f26d29c19cfb44e8555b2101ec4a420c5b3.tar.gz
abc80-0bbb0f26d29c19cfb44e8555b2101ec4a420c5b3.tar.xz
abc80-0bbb0f26d29c19cfb44e8555b2101ec4a420c5b3.zip
Remove "turbo mode" - it will not workabc80-de1-16
The driver chip on the DE1 is a MAX232, which is rated only for 120 kbps. As a result, expecting 461 kbps to work is optimistic at best, and is only going to be a source of problems. Drop any trace of "turbo mode" support, and let the synthesizer do a better job instead.
Diffstat (limited to 'tools/abcprintd.c')
-rw-r--r--tools/abcprintd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/abcprintd.c b/tools/abcprintd.c
index d5deead..4b4b610 100644
--- a/tools/abcprintd.c
+++ b/tools/abcprintd.c
@@ -211,9 +211,6 @@ int main(int argc, char *argv[])
case 'd':
file_op_dir = optarg;
break;
- case 't':
- speed = B460800;
- break;
default:
badopt = true;
break;
@@ -225,7 +222,7 @@ int main(int argc, char *argv[])
"Usage: %s [options] port lpr_program [lpr_args...]]\n"
"Options:\n"
" -d dir enable file access to directory dir\n"
- /* " -t turbo mode (460800 bps)\n" */,
+ ,
argv[0]);
exit(1);
}