这是错误log:
implicit declaration of function 'rtc_gpio_hold_dis'; did you mean 'gpio_hold_dis'? [-Werror=implicit-function-declaration]
rtc_gpio_hold_dis(0);
以下2行代码添加头文件之后还是报错
#include "driver/rtc_io.h"
#include "hal/rtc_io_hal.h"
我声明2个函数,还是报错
添加rtc_gpio_isolate (),rtc_gpio_hold_dis()报错
-
- Posts: 171
- Joined: Thu Sep 23, 2021 10:03 am
Re: 添加rtc_gpio_isolate (),rtc_gpio_hold_dis()报错
如果是ESP32-C3芯片,C3的RTC_GPIO没有这个功能,用不了rtc_gpio_isolate 这个函数
-
- Posts: 171
- Joined: Thu Sep 23, 2021 10:03 am
Re: 添加rtc_gpio_isolate (),rtc_gpio_hold_dis()报错
那我用什么函数来把io口关闭,不会引起电流的变化,减少低功耗
Who is online
Users browsing this forum: No registered users and 80 guests