Explorar el Código

Merge pull request #2018 from dogandog/master

Update serial.h
Bernard Xiong hace 6 años
padre
commit
bcd591c5f5
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;
 };
 
 /*