Fix datatype conversion compiler error #9254

This commit is contained in:
0xFEEDC0DE64 2022-06-29 14:39:25 +02:00
parent c2ccc383da
commit d0c10eb83a

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);
}
/**