From 26e5204c377a830f00d3074fab422a88b0ce2708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominic=20H=C3=B6glinger?= Date: Thu, 3 Jul 2025 18:58:16 +0200 Subject: [PATCH] + Fixup: Boards/LilygoTLoraPager - Added copyright in encoder init routine --- Boards/LilygoTLoraPager/Source/hal/TpagerKeyboard.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Boards/LilygoTLoraPager/Source/hal/TpagerKeyboard.cpp b/Boards/LilygoTLoraPager/Source/hal/TpagerKeyboard.cpp index 993a8b05..81f18147 100644 --- a/Boards/LilygoTLoraPager/Source/hal/TpagerKeyboard.cpp +++ b/Boards/LilygoTLoraPager/Source/hal/TpagerKeyboard.cpp @@ -219,6 +219,10 @@ void TpagerKeyboard::initEncoder(void) { const int low_limit = -127; const int high_limit = 126; + // Original implementation based on + // https://github.com/UsefulElectronics/esp32s3-gc9a01-lvgl/blob/main/main/hardware/rotary_encoder.c + // Copyright (c) 2023 Ward Almasarani + // Accum. count makes it that over- and underflows are automatically compensated. // Prerequisite: watchpoints at low and high limit pcnt_unit_config_t unit_config = {