* Support for -DBAUDRATE=xxx
This commit is contained in:
parent
9b075f2038
commit
3ba41f731d
@ -26,7 +26,7 @@
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: scat.c,v 1.3 2007/01/05 18:05:21 bg- Exp $
|
||||
* $Id: scat.c,v 1.4 2007/01/23 12:33:27 bg- Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -55,10 +55,12 @@
|
||||
#define SLIP_ESC_END 0334
|
||||
#define SLIP_ESC_ESC 0335
|
||||
|
||||
#ifndef BAUDRATE
|
||||
#define BAUDRATE B115200
|
||||
//#define BAUDRATE B57600
|
||||
//#define BAUDRATE B38400
|
||||
//#define BAUDRATE B19200
|
||||
#endif
|
||||
|
||||
void
|
||||
stty_telos(int fd)
|
||||
|
@ -28,7 +28,7 @@
|
||||
*
|
||||
* This file is part of the uIP TCP/IP stack.
|
||||
*
|
||||
* $Id: tunslip.c,v 1.7 2007/01/12 18:23:19 bg- Exp $
|
||||
* $Id: tunslip.c,v 1.8 2007/01/23 12:33:42 bg- Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@ -684,10 +684,12 @@ tun_to_serial(int infd, int outfd)
|
||||
write_to_serial(outfd, uip.inbuf, size);
|
||||
}
|
||||
|
||||
#ifndef BAUDRATE
|
||||
#define BAUDRATE B115200
|
||||
//#define BAUDRATE B57600
|
||||
//#define BAUDRATE B38400
|
||||
//#define BAUDRATE B19200
|
||||
#endif
|
||||
|
||||
void
|
||||
stty_telos(int fd)
|
||||
|
Loading…
Reference in New Issue
Block a user