X-Git-Url: http://git.jankratochvil.net/?p=gnokii.git;a=blobdiff_plain;f=common%2Fdevices%2Funixserial.c;h=ab366db66118a4734ba76300c8dccc1e2861fdf5;hp=0ee3e72e193ca7e0729549b3ebbabb55180f76f6;hb=24e1c79324b43b4f376f823da8406b777b6094c8;hpb=82ded122795dc5e6d93f2fc33e2d5f96ba6615b8 diff --git a/common/devices/unixserial.c b/common/devices/unixserial.c index 0ee3e72..ab366db 100644 --- a/common/devices/unixserial.c +++ b/common/devices/unixserial.c @@ -11,11 +11,14 @@ Released under the terms of the GNU GPL, see file COPYING for more details. $Log$ - Revision 1.1.1.1.2.1 2001/11/27 22:48:37 short - Update: orig2001_11_27_05_17 -> orig2001_11_27_22_58 + Revision 1.1.1.1.2.2 2001/12/05 03:33:52 short + Update: orig2001_11_27_05_17 -> orig2001_12_04_22_45 - Revision 1.1.1.2 2001/11/27 22:01:15 short - :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Tue Nov 27 22:58 CET 2001 + Revision 1.1.1.3 2001/12/05 03:16:40 short + :pserver:cvs@pserver.samba.org:/cvsroot - gnokii - Tue Dec 4 22:45 CET 2001 + + Revision 1.12 2001/11/29 17:54:56 pkot + Cleanup. Removed cvs logs. Revision 1.11 2001/11/27 12:19:01 pkot Cleanup, indentation, ANSI complaint preprocesor symbols (Jan Kratochvil, me) @@ -265,11 +268,8 @@ void serial_changespeed(int __fd, int __speed) #ifndef SGTTY tcgetattr(__fd, &t); - // This is not needed! We set up the speed via cfsetspeed - // t.c_cflag &= ~CBAUD; - // t.c_cflag |= speed; if (cfsetspeed(&t, speed) == -1) - dprintf(_("Serial port speed setting failed\n")); + dprintf("Serial port speed setting failed\n"); tcsetattr(__fd, TCSADRAIN, &t); #else