Allow serial port options to be specified in a relatively friendly format.

This commit is contained in:
Michael Brown
2005-04-17 16:15:46 +00:00
parent 6ca5e85a3b
commit 64e1df4af6
2 changed files with 24 additions and 14 deletions

View File

@@ -28,7 +28,7 @@
#if ! COMPRESERVE
#define COMSPEED 9600 /* Baud rate */
#define COMDATA 8 /* Data bits */
#define COMPARITY N /* Parity */
#define COMPARITY 0 /* Parity: 0=None, 1=Odd, 2=Even */
#define COMSTOP 1 /* Stop bits */
#endif