ソースを参照

remove: mlx90640库移除一个多余的变量

Wendal Chen 3 年 前
コミット
ea6c8ce376
1 ファイル変更1 行追加1 行削除
  1. 1 1
      components/mlx90640-library/luat_lib_mlx90640.c

+ 1 - 1
components/mlx90640-library/luat_lib_mlx90640.c

@@ -324,7 +324,7 @@ static uint8_t * luat_interpolation_double(uint8_t *src, uint16_t rows,uint16_t
     int w1 = cols;
     int h1 = rows;
     int w2 = w1*2;
-    int h2 = h1*2;
+    //int h2 = h1*2;
     uint8_t* dst = (uint8_t*)luat_heap_malloc(rows*cols*4);
     for (size_t y = 0; y < h1; y++){
         for (size_t x = 0; x < w1; x++){