|
|
|
Created:
14 years, 4 months ago by grund(helms-)mann Modified:
11 years ago CC:
avalonsailing_googlegroups.com Base URL:
http://avalonsailing.googlecode.com/svn/trunk/ Visibility:
Public. |
Patch Set 1 #
Total messages: 2
|
grund(helms-)mann
|
14 years, 4 months ago (2011年08月23日 08:42:26 UTC) #1 | |||||||||||||||||||||
LGTM Den 23 augusti 2011 10:42 skrev <grundmann@google.com>: > Reviewers: bsuter, rekwall, > > > > Please review this at http://codereview.appspot.com/**4918047/<http://codereview.appspot.com/4918047/> > > Affected files: > M io/aiscat_main.c > M io/compasscat_main.c > > > Index: io/compasscat_main.c > ==============================**==============================**======= > --- io/compasscat_main.c (revision 262) > +++ io/compasscat_main.c (working copy) > @@ -60,7 +60,7 @@ > fprintf(stderr, > "usage: %s [options] /dev/ttyXX\n" > "options:\n" > - "\t-b baudrate (default unchanged)\n" > + "\t-b baudrate (default 19200)\n" > "\t-d debug (don't syslog, -dd is open serial as plain > file)\n" > , argv0); > exit(2); > @@ -127,7 +127,7 @@ > int main(int argc, char* argv[]) { > > int ch; > - int baudrate = 0; > + int baudrate = 19200; // 19200, 8, 1, N > > argv0 = strrchr(argv[0], '/'); > if (argv0) ++argv0; else argv0 = argv[0]; > Index: io/aiscat_main.c > ==============================**==============================**======= > --- io/aiscat_main.c (revision 262) > +++ io/aiscat_main.c (working copy) > @@ -53,7 +53,7 @@ > fprintf(stderr, > "usage: %s [options] [/dev/ttyXX]\n" > "options:\n" > - "\t-b baudrate (default unchanged)\n" > + "\t-b baudrate (default 38400)\n" > "\t-d debug (don't syslog, -dd opens port as > plain file)\n" > "will read NMEA sentence from stdin with no arguments.\n" > , argv0); > @@ -102,7 +102,7 @@ > int main(int argc, char* argv[]) { > > int ch; > - int baudrate = 0; > + int baudrate = 38400; > > argv0 = strrchr(argv[0], '/'); > if (argv0) ++argv0; else argv0 = argv[0]; > > >