Merge branch 'contrib/github_pr_9255' into 'master'

Fix datatype conversion compiler error #9254 (GitHub PR)

Closes IDFGH-7713

See merge request espressif/esp-idf!18872
This commit is contained in:
Omar Chebib 2022-07-06 10:37:30 +08:00
commit c017f006cd

View File

@ -115,7 +115,7 @@ esp_err_t esp_backtrace_print(int depth);
*/
static inline __attribute__((deprecated)) esp_err_t esp_set_watchpoint(int no, void *adr, int size, int flags)
{
return esp_cpu_set_watchpoint(no, adr, size, flags);
return esp_cpu_set_watchpoint(no, adr, size, (esp_cpu_watchpoint_trigger_t)flags);
}
/**