Search found 1 match

by Akuji!
Sun Feb 04, 2024 2:18 am
Forum: ESP32 Arduino
Topic: Definition "extern pcnt_dev_t PCNT" + ISR
Replies: 5
Views: 10571

Re: Definition "extern pcnt_dev_t PCNT" + ISR


Placing #include "soc/pcnt_struct.h" within extern "C" { ... } block should fix the issue. We are adding header guards for all components, so in the long run this workaround will not be needed.


Thanks! Now I'm getting an undefined error with "PCNT_STATUS_THRES0_M" and "PCNT_STATUS_THRES1_M ...

Go to advanced search