From 836af4ef150925241e69172a4b37bc377d367690 Mon Sep 17 00:00:00 2001 From: Hendrik Rauh <114620133+HendrikRauh@users.noreply.github.com> Date: Thu, 6 Mar 2025 21:23:29 +0100 Subject: [PATCH] fix: correct typo in interrupt function comment for clarity --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index ad0b20d..2800f00 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -32,7 +32,7 @@ bool status_led; hw_timer_t *timer = NULL; // H/W timer defining (Pointer to the Structure) portMUX_TYPE timerMux = portMUX_INITIALIZER_UNLOCKED; void IRAM_ATTR onTimer() -{ // Defining Inerrupt function with IRAM_ATTR for faster access +{ // Defining interrupt function with IRAM_ATTR for faster access portENTER_CRITICAL_ISR(&timerMux); status_led = !status_led; if (!status_led)