From fe3629a05c3952c66c001447ac350978f04500a3 Mon Sep 17 00:00:00 2001 From: peepeetee Date: Sat, 27 Apr 2024 17:50:46 -0500 Subject: [PATCH] amend psudocode --- keyboards/momokai/tap_trio_pro/psudocode | 2 ++ 1 file changed, 2 insertions(+) diff --git a/keyboards/momokai/tap_trio_pro/psudocode b/keyboards/momokai/tap_trio_pro/psudocode index 1493a6892ad..f97629e6d0c 100644 --- a/keyboards/momokai/tap_trio_pro/psudocode +++ b/keyboards/momokai/tap_trio_pro/psudocode @@ -9,6 +9,8 @@ matrix scanning: pointer: where in the circular buffer are we? sum: sum of values in the circular buffer, so that we don't have to access the whole buffer, just 2 elements. + special case: initialization + return unfiltered value if the buffer is not filled yet get value out, update sensor boundaries only if sma initialized