From 795a8822800809cbdf377a5a64a1adc792f5b011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominic=20H=C3=B6glinger?= Date: Wed, 8 Oct 2025 17:44:16 +0200 Subject: [PATCH] LilygoTLoraPager: Re-add ISR GPIO service --- Boards/LilygoTLoraPager/Source/Init.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Boards/LilygoTLoraPager/Source/Init.cpp b/Boards/LilygoTLoraPager/Source/Init.cpp index cf1c7ce7..7f8a00d8 100644 --- a/Boards/LilygoTLoraPager/Source/Init.cpp +++ b/Boards/LilygoTLoraPager/Source/Init.cpp @@ -13,6 +13,14 @@ constexpr auto* TAG = "TLoraPager"; bool tpagerInit() { ESP_LOGI(TAG, LOG_MESSAGE_POWER_ON_START); + /* Install ISR service */ + auto ret = gpio_install_isr_service((int)ESP_INTR_FLAG_IRAM | (int)ESP_INTR_FLAG_LEVEL2); + if (ret != ESP_OK) { + TT_LOG_E(TAG, "Couldn't install ISR service rc=%i", ret); + } else { + TT_LOG_E(TAG, "ISR Service installed on core %i", xPortGetCoreID()); + } + /* 32 Khz and higher gives an issue where the screen starts dimming again above 80% brightness * when moving the brightness slider rapidly from a lower setting to 100%. * This is not a slider bug (data was debug-traced) */