This commit is contained in:
刘可亮
2024-06-04 19:00:30 +08:00
parent 990c72f5be
commit 0a13af6a1d
1668 changed files with 342810 additions and 37726 deletions

View File

@@ -12,6 +12,7 @@
#include "aic_ui.h"
#include "launcher_screen.h"
#include "launcher_ui.h"
#include "msh.h"
static void launcher_tapview_event(lv_event_t * e)
{
@@ -34,6 +35,13 @@ static void camera_event_cb(lv_event_t *e)
if (code == LV_EVENT_CLICKED) {
// load camera screen
lv_scr_load(scr_camera);
#if defined(AIC_CHIP_D13X) || defined(AIC_CHIP_D21X)
// open dvp
char cmd[32] = {0};
snprintf(cmd, sizeof(cmd), "test_dvp -c 0 \n");
msh_exec(cmd, rt_strlen(cmd));
#endif
}
}