mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2025-05-19 10:32:56 +00:00
Merge branch 'main' into 30-add-dmx-in-capability
This commit is contained in:
commit
c0f56e0e3d
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ bool status_led;
|
||||||
hw_timer_t *timer = NULL; // H/W timer defining (Pointer to the Structure)
|
hw_timer_t *timer = NULL; // H/W timer defining (Pointer to the Structure)
|
||||||
portMUX_TYPE timerMux = portMUX_INITIALIZER_UNLOCKED;
|
portMUX_TYPE timerMux = portMUX_INITIALIZER_UNLOCKED;
|
||||||
void IRAM_ATTR onTimer()
|
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);
|
portENTER_CRITICAL_ISR(&timerMux);
|
||||||
status_led = !status_led;
|
status_led = !status_led;
|
||||||
if (!status_led)
|
if (!status_led)
|
||||||
|
|
Loading…
Add table
Reference in a new issue