Merge branch 'main' into 30-add-dmx-in-capability

This commit is contained in:
Hendrik Rauh 2025-04-14 22:03:24 +02:00 committed by GitHub
commit c0f56e0e3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)