Jelajahi Sumber

Merge pull request #1 from luhuadong/master

fix unknown type name 'uint16_t' error
liuduanfei 2 tahun lalu
induk
melakukan
facf55c212
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  1. 3 3
      src/ft6236.c

+ 3 - 3
src/ft6236.c

@@ -102,9 +102,9 @@ static rt_size_t ft6236_readpoint(struct rt_touch_device *touch, void *data, rt_
     rt_uint8_t buf[4];
     struct rt_i2c_bus_device * i2c_bus = RT_NULL;
 
-    static rt_uint8_t s_tp_down = 0;
-    static uint16_t x_save, y_save;
-    static rt_uint8_t s_count = 0;
+    static rt_uint8_t  s_tp_down = 0;
+    static rt_uint16_t x_save, y_save;
+    static rt_uint8_t  s_count = 0;
 
     struct rt_touch_data *temp_data;