Skip to content

Commit

Permalink
update:camera demo重新默认打开LCD预览
Browse files Browse the repository at this point in the history
  • Loading branch information
allewalker committed Dec 13, 2024
1 parent 5bd5159 commit 2745c5d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions project/example_camera/src/example_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
#include "luat_pm.h"
//#include "tiny_jpeg.h"
#include "mm_jpeg_if.h"
#define CAMERA_TEST_QRCODE //扫码
//#define LCD_ENABLE //默认均开启LCD预览
//#define CAMERA_TEST_QRCODE //扫码
#define LCD_ENABLE //默认均开启LCD预览
#define USB_UART_ENABLE


Expand Down Expand Up @@ -568,7 +568,6 @@ static void luat_camera_task(void *param)
luat_lcd_service_init(60);
luat_gpio_set_default_cfg(&gpio_cfg);
gpio_cfg.output_level = LUAT_GPIO_HIGH;
luat_gpio_open(&gpio_cfg);
gpio_cfg.pin = SPI_LCD_RST_PIN;
luat_gpio_open(&gpio_cfg);
gpio_cfg.pin = SPI_LCD_BL_PIN;
Expand Down

0 comments on commit 2745c5d

Please sign in to comment.