mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
ledc: move callback to IRAM, it's called from an ISR
This commit is contained in:
parent
11c59a2e69
commit
c3db512280
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user