Browse Source

fix: luat_camera_video没有声明返回值

Wendal Chen 1 year ago
parent
commit
5d96abaae9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/camera/luat_lib_camera.c

+ 1 - 1
components/camera/luat_lib_camera.c

@@ -339,7 +339,7 @@ LUAT_WEAK int luat_camera_get_raw_again(int id) {
     return -1;
 }
 
-LUAT_WEAK luat_camera_video(int id, int w, int h, uint8_t uart_id) {
+LUAT_WEAK int luat_camera_video(int id, int w, int h, uint8_t uart_id) {
     LLOGD("not support yet");
     return -1;
 }