diff --git a/common/serial.h b/common/serial.h index 3432f600b..e037e7f01 100644 --- a/common/serial.h +++ b/common/serial.h @@ -5,7 +5,7 @@ * Provides useful routines for read/write serial data for communicating * via serial interface . * - * $Id: serial.h,v 1.8 2000-09-17 00:06:52 javabear Exp $ + * $Id: serial.h,v 1.9 2000-09-19 00:16:03 javabear Exp $ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -31,38 +31,17 @@ int serial_open(struct rig_state *rs); - - int close_port(int fd); - - -/* - * Read "num" bytes from "fd" and put results into - * an array of unsigned char pointed to by "rxbuffer" - * - * Sleeps every second until number of bytes to read - * is the amount requested. - * - */ - - int read_sleep(int fd, unsigned char *rxbuffer, int num ); int read_block(int fd, unsigned char *rxbuffer, size_t count, int timeout); int write_block2(int fd, const unsigned char *txbuffer, size_t count, int write_delay); - - - - /* * todo :Should move conversion stuff to another file -- FS - * */ - - /* * Convert char to packed decimal * eg: 33 (0x21) => 0x33