Browse Source

fixed: compile err

packages/micropython-latest/port/mpgetcharport.c:40:5: error: unknown
type name 'uint8_t'
     uint8_t ch;
michael 5 năm trước cách đây
mục cha
commit
5808c7ed93
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      port/mpgetcharport.c

+ 1 - 0
port/mpgetcharport.c

@@ -25,6 +25,7 @@
  */
  */
 
 
 #include <stdio.h>
 #include <stdio.h>
+#include <stdint.h>
 #include <rtthread.h>
 #include <rtthread.h>
 #include <rtdevice.h>
 #include <rtdevice.h>
 #include <rthw.h>
 #include <rthw.h>