mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-05-19 10:32:56 +00:00
fix: correct typo in interrupt function comment for clarity
This commit is contained in:
parent
bc4314111c
commit
836af4ef15
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue