summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2021-12-09 11:38:16 +0800
committerguozhanxin <[email protected]>2021-12-09 11:48:48 +0800
commit45dd302abf31e3dbb310bb4bbb3f6bbb9d6e2056 (patch)
treec1d529a0f0bdd1264e48f31610fad8826ab90845
parent5aecdeb8ab70e172dbe3334a390b53ca4a274ac1 (diff)
[qemu-a9] add .ignore_format.yml
-rw-r--r--bsp/qemu-vexpress-a9/drivers/drv_mouse.c4
-rw-r--r--bsp/qemu-vexpress-a9/drivers/lvgl/.ignore_format.yml6
2 files changed, 8 insertions, 2 deletions
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