Define SP_PARITY_* more logically.

This commit is contained in:
Martin Ling 2013-11-20 19:56:11 +00:00 committed by Bert Vermeulen
parent 70518e4fdd
commit 20e63a77b5
1 changed files with 3 additions and 3 deletions

View File

@ -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. */