From 10be74326c1b77a53160e43d0d5175305153a066 Mon Sep 17 00:00:00 2001 From: Go Suzuki Date: Wed, 26 Nov 2025 14:06:54 +0900 Subject: [PATCH] refactor(rtcio): remove duplicated `rtcio_hal_get_level` and `rtcio_hal_set_level` --- components/hal/include/hal/rtc_io_hal.h | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/components/hal/include/hal/rtc_io_hal.h b/components/hal/include/hal/rtc_io_hal.h index b55c45a6f038..21476b45178b 100644 --- a/components/hal/include/hal/rtc_io_hal.h +++ b/components/hal/include/hal/rtc_io_hal.h @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -62,14 +62,6 @@ extern "C" { */ #define rtcio_hal_output_disable(rtcio_num) rtcio_ll_output_disable(rtcio_num) -/** - * Set RTCIO output level. - * - * @param rtcio_num The index of rtcio. 0 ~ SOC_RTCIO_PIN_COUNT. - * @param level 0: output low; ~0: output high. - */ -#define rtcio_hal_set_level(rtcio_num, level) rtcio_ll_set_level(rtcio_num, level) - /** * Enable rtcio input. * @@ -84,14 +76,6 @@ extern "C" { */ #define rtcio_hal_input_disable(rtcio_num) rtcio_ll_input_disable(rtcio_num) -/** - * Get RTCIO input level. - * - * @param rtcio_num The index of rtcio. 0 ~ SOC_RTCIO_PIN_COUNT. - * @return 0: input low; ~0: input high. - */ -#define rtcio_hal_get_level(rtcio_num) rtcio_ll_get_level(rtcio_num) - /** * @brief Set RTC GPIO pad drive capability. *