Parcourir la source

Update serial.h

correct definition of struct serial_configure
Owen il y a 6 ans
Parent
commit
a3e4d57a54
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      components/drivers/include/drivers/serial.h

+ 1 - 1
components/drivers/include/drivers/serial.h

@@ -100,7 +100,7 @@ struct serial_configure
     rt_uint32_t bit_order               :1;
     rt_uint32_t invert                  :1;
     rt_uint32_t bufsz                   :16;
-    rt_uint32_t reserved                :4;
+    rt_uint32_t reserved                :6;
 };
 
 /*