X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=libserialport.h.in;h=264c7db8ca496c69d4ee87a9a199ce46c2919606;hb=20e63a77b58073e2dacdd85857a4f78b807a055c;hp=6fc7ef55ddd202d91ba51f69a309d44f701ede1b;hpb=70518e4fddf921fddf9af36f1b7aebeb9cd70a67;p=libserialport.git diff --git a/libserialport.h.in b/libserialport.h.in index 6fc7ef5..264c7db 100644 --- a/libserialport.h.in +++ b/libserialport.h.in @@ -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. */