diff --git a/CMakeLists.txt b/CMakeLists.txt index f00f086..91de33f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,7 @@ PROJECT(ttylog) CMAKE_MINIMUM_REQUIRED(VERSION 2.8) SET(TTYLOG_VERSION_MAJOR "0") -SET(TTYLOG_VERSION_MINOR "31") +SET(TTYLOG_VERSION_MINOR "32") SET(TTYLOG_VERSION_PATCH "0") SET(TTYLOG_VERSION ${TTYLOG_VERSION_MAJOR}.${TTYLOG_VERSION_MINOR}.${TTYLOG_VERSION_PATCH}) diff --git a/ChangeLog b/ChangeLog index 10b5e67..402bcef 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,11 @@ +2019-5-8 Denis Zvezdov 0.32 + + * added baudrate 921600 2018-1-14 Robert James Clay 0.31 * README.md: Use single quotes around 'kill -HUP nnnn' example. - * README.md, ttylog.c: Add missing '[-s|--stamp]' entry for the Usage line. + * README.md, ttylog.c: Add missing '[-s|--stamp]' entry for the Usage line. * COPYRIGHT, ttylog.c: Add copyright information for Guy Shapiro. * CMakeLists.txt: Change the minimum required version of CMake to '2.8'. * CMakeLists.txt: Add settings for two very basic tests to CMakeLists.txt. @@ -83,7 +86,7 @@ 2016-5-25 Alexander (MrMontag) Fust 0.27 - * CMakeList.txt: Finalize and activate the CPack directives + * CMakeList.txt: Finalize and activate the CPack directives 2016-5-13 Robert James Clay @@ -224,7 +227,7 @@ 2002-01-12 Tibor Koleszar 0.1.b-2 - * Its not a debian native package - Closes: Debian bug#127498 + * Its not a debian native package - Closes: Debian bug#127498 2002-01-12 Tibor Koleszar 0.1.b-1 diff --git a/ttylog.8 b/ttylog.8 index a615054..f72f77f 100644 --- a/ttylog.8 +++ b/ttylog.8 @@ -24,7 +24,7 @@ Version number of ttylog plus Copyright information .TP .B -b, --baud Baud rate of the device. Available baud rates: -300, 1200, 2400, 4800, 9600, 19200, 38400, 57600 and 115200 +300, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 and 921600 .TP .B -d --device The serial device. For example /dev/ttyS1 diff --git a/ttylog.c b/ttylog.c index 41e9151..2d2893b 100644 --- a/ttylog.c +++ b/ttylog.c @@ -35,15 +35,15 @@ #include "config.h" -#define BAUDN 9 +#define BAUDN 10 char flush = 0; char *BAUD_T[] = -{"300", "1200", "2400", "4800", "9600", "19200", "38400", "57600", "115200"}; +{"300", "1200", "2400", "4800", "9600", "19200", "38400", "57600", "115200", "921600"}; int BAUD_B[] = -{B300, B1200, B2400, B4800, B9600, B19200, B38400, B57600, B115200}; +{B300, B1200, B2400, B4800, B9600, B19200, B38400, B57600, B115200, B921600}; int main (int argc, char *argv[])