1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00

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

View File

@ -115,10 +115,10 @@ enum sp_parity {
SP_PARITY_INVALID = -1,
/** No parity. */
SP_PARITY_NONE = 0,
/** Even parity. */
SP_PARITY_EVEN = 1,
/** Odd parity. */
SP_PARITY_ODD = 2,
SP_PARITY_ODD = 1,
/** Even parity. */
SP_PARITY_EVEN = 2,
};
/** RTS pin behaviour. */