From 09be6f1c2933ba930f651171119f9d0a878f21cf Mon Sep 17 00:00:00 2001
From: Sebastian Krzyszkowiak <dos@dosowisko.net>
Date: Sat, 16 Dec 2023 15:11:35 +0100
Subject: [PATCH] st3m: captouch: Bump the top petal threshold up

Otherwise it's easy to get ghosting on non-touched petals
when firmly touching other petals on the top board.
---
 components/st3m/st3m_captouch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/st3m/st3m_captouch.c b/components/st3m/st3m_captouch.c
index 590f8ac9da..47f63295f3 100644
--- a/components/st3m/st3m_captouch.c
+++ b/components/st3m/st3m_captouch.c
@@ -17,7 +17,7 @@
 // would be more useful to start with the existing dynamic calibration data
 // tho :D
 
-#define TOP_PETAL_THRESHOLD 8000
+#define TOP_PETAL_THRESHOLD 15000
 #define BOTTOM_PETAL_THRESHOLD 12000
 #define PETAL_HYSTERESIS 1000
 
-- 
GitLab