瀏覽代碼

Fixed issue #21

Benoit Blanchon 11 年之前
父節點
當前提交
4cfb0ab84d
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      JsonGenerator/Print.h

+ 2 - 1
JsonGenerator/Print.h

@@ -7,7 +7,8 @@
 
 
 #ifndef ARDUINO
 #ifndef ARDUINO
 
 
-typedef unsigned char uint8_t;
+#include <stddef.h>
+#include <stdint.h>
 
 
 // This class reproduces Arduino's Print
 // This class reproduces Arduino's Print
 class Print
 class Print