From 8f01d232492fc9b67296ad0c7b9e717b783f6b2f Mon Sep 17 00:00:00 2001 From: Mike Purvis Date: Sun, 6 Oct 2013 01:24:42 -0400 Subject: [PATCH] Move stopbits_one_point_five to the end of the enum, so that it doesn't alias with stopbits_two. --- include/serial/serial.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/serial/serial.h b/include/serial/serial.h index d02bdd2..e5c5b7c 100644 --- a/include/serial/serial.h +++ b/include/serial/serial.h @@ -74,8 +74,8 @@ typedef enum { */ typedef enum { stopbits_one = 1, - stopbits_one_point_five, - stopbits_two = 2 + stopbits_two = 2, + stopbits_one_point_five } stopbits_t; /*!