LilygoTLoraPager: Re-add ISR GPIO service
This commit is contained in:
parent
cf57d9e65f
commit
795a882280
@ -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) */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user