乐鑫技术交流
直播中

申换换

8年用户 1578经验值
私信 关注
[问答]

求助,esp32c3在别的.c文件用微妙函数ets_delay_us(20)函数报错?

没添加文件是这个错../main/motor.c:41:21: error: implicit declaration of function 'ets_delay_us' [-Werror=implicit-function-declaration]

                     ets_delay_us(DELAY_us);

我添加头文件也报错,../main/motor.c:4:10: fatal error: rom/ets_sys.h: No such file or directory

#include "rom/ets_sys.h"

更多回帖

发帖
×
20
完善资料,
赚取积分