kopia lustrzana https://github.com/espressif/esp-idf
ledc: move callback to IRAM, it's called from an ISR
rodzic
ad66203e53
commit
c158ec579b
|
@ -67,7 +67,7 @@
|
|||
* Use callback only if you are aware it is being called inside an ISR
|
||||
* Otherwise, you can use a semaphore to unblock tasks
|
||||
*/
|
||||
static bool cb_ledc_fade_end_event(const ledc_cb_param_t *param, void *user_arg)
|
||||
static IRAM_ATTR bool cb_ledc_fade_end_event(const ledc_cb_param_t *param, void *user_arg)
|
||||
{
|
||||
portBASE_TYPE taskAwoken = pdFALSE;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue