oplus: oplus_touchscreen_v2: Default to enable pen function when boot up

Change-Id: I5266f528f41a77a91b2bca118d4d2791fb8f08f9
This commit is contained in:
LuK1337
2025-06-24 23:54:10 +02:00
committed by Bruno Martins
parent bae04f6eba
commit b89e9356b7

View File

@@ -4313,7 +4313,7 @@ int register_common_touch_device(struct touchpanel_data *pdata)
}
if (ts->pen_support) { /* Default to enable pen function when boot up */
ts->is_pen_connected = 0;
ts->is_pen_connected = 1;
ts->is_pen_attracted = 0;
}