From 45dd302abf31e3dbb310bb4bbb3f6bbb9d6e2056 Mon Sep 17 00:00:00 2001 From: guozhanxin Date: Thu, 9 Dec 2021 11:38:16 +0800 Subject: [PATCH] [qemu-a9] add .ignore_format.yml --- bsp/qemu-vexpress-a9/drivers/drv_mouse.c | 4 ++-- bsp/qemu-vexpress-a9/drivers/lvgl/.ignore_format.yml | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 bsp/qemu-vexpress-a9/drivers/lvgl/.ignore_format.yml diff --git a/bsp/qemu-vexpress-a9/drivers/drv_mouse.c b/bsp/qemu-vexpress-a9/drivers/drv_mouse.c index 5b0ec21273..36ca14f55e 100644 --- a/bsp/qemu-vexpress-a9/drivers/drv_mouse.c +++ b/bsp/qemu-vexpress-a9/drivers/drv_mouse.c @@ -180,7 +180,7 @@ void push_event_touch_end(int x, int y) emouse.y = y; emouse.ts = rt_tick_get(); emouse.id = emouse_id; - + LOG_D("[line]:%d up event id:%d x:%d y:%d", __LINE__, emouse.id, x, y); rtgui_server_post_event(&emouse.parent, sizeof(emouse)); #elif defined(PKG_USING_LITTLEVGL2RTT) @@ -271,7 +271,7 @@ int rt_hw_mouse_init(void) ((read32(virt + 0xfe8) & 0xff) << 16) | ((read32(virt + 0xfe4) & 0xff) << 8) | ((read32(virt + 0xfe0) & 0xff) << 0)); - + if(((id >> 12) & 0xff) != 0x41 || (id & 0xfff) != 0x050) { LOG_E("read id fail id:0x%08x", id); diff --git a/bsp/qemu-vexpress-a9/drivers/lvgl/.ignore_format.yml b/bsp/qemu-vexpress-a9/drivers/lvgl/.ignore_format.yml new file mode 100644 index 0000000000..9609fed8fb --- /dev/null +++ b/bsp/qemu-vexpress-a9/drivers/lvgl/.ignore_format.yml @@ -0,0 +1,6 @@ +# files format check exclude path, please follow the instructions below to modify; +# If you need to exclude an entire folder, add the folder path in dir_path; +# If you need to exclude a file, add the path to the file in file_path. + +dir_path: +- demo