From e19f5d8955dd8080818e67c956b0a139a6671a23 Mon Sep 17 00:00:00 2001 From: Renz Bagaporo Date: Mon, 5 Oct 2020 12:21:47 +0800 Subject: [PATCH] hal: fix wrong description on rtc io hal Closes https://github.com/espressif/esp-idf/issues/5770 --- components/hal/include/hal/rtc_io_hal.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/components/hal/include/hal/rtc_io_hal.h b/components/hal/include/hal/rtc_io_hal.h index 5301cb3271..289a83e0f1 100644 --- a/components/hal/include/hal/rtc_io_hal.h +++ b/components/hal/include/hal/rtc_io_hal.h @@ -220,9 +220,10 @@ void rtcio_hal_set_direction_in_sleep(int rtcio_num, rtc_gpio_mode_t mode); #define rtcio_hal_wakeup_disable(rtcio_num) rtcio_ll_wakeup_disable(rtcio_num) /** - * Disable wakeup function from light sleep status for rtcio. + * Set specific logic level on an RTC IO pin as a wakeup trigger. * - * @param rtcio_num The index of rtcio. 0 ~ SOC_RTCIO_PIN_COUNT. + * @param rtcio_num The index of rtcio. 0 ~ SOC_RTC_IO_PIN_COUNT. + * @param level Logic level (0) */ #define rtcio_hal_ext0_set_wakeup_pin(rtcio_num, level) rtcio_ll_ext0_set_wakeup_pin(rtcio_num, level) @@ -243,4 +244,4 @@ void rtcio_hal_isolate(int rtc_num); #ifdef __cplusplus } -#endif \ No newline at end of file +#endif