Explorar el Código

Update serial.h

correct definition of struct serial_configure
Owen hace 6 años
padre
commit
a3e4d57a54
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
 };
 
 /*