Define SP_PARITY_* more logically.
This commit is contained in:
parent
70518e4fdd
commit
20e63a77b5
|
@ -115,10 +115,10 @@ enum sp_parity {
|
||||||
SP_PARITY_INVALID = -1,
|
SP_PARITY_INVALID = -1,
|
||||||
/** No parity. */
|
/** No parity. */
|
||||||
SP_PARITY_NONE = 0,
|
SP_PARITY_NONE = 0,
|
||||||
/** Even parity. */
|
|
||||||
SP_PARITY_EVEN = 1,
|
|
||||||
/** Odd parity. */
|
/** Odd parity. */
|
||||||
SP_PARITY_ODD = 2,
|
SP_PARITY_ODD = 1,
|
||||||
|
/** Even parity. */
|
||||||
|
SP_PARITY_EVEN = 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
/** RTS pin behaviour. */
|
/** RTS pin behaviour. */
|
||||||
|
|
Loading…
Reference in New Issue