Skip to content

Commit 10be743

Browse files
committed
refactor(rtcio): remove duplicated rtcio_hal_get_level and rtcio_hal_set_level
1 parent 80ed209 commit 10be743

File tree

1 file changed

+1
-17
lines changed

1 file changed

+1
-17
lines changed

components/hal/include/hal/rtc_io_hal.h

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -62,14 +62,6 @@ extern "C" {
6262
*/
6363
#define rtcio_hal_output_disable(rtcio_num) rtcio_ll_output_disable(rtcio_num)
6464

65-
/**
66-
* Set RTCIO output level.
67-
*
68-
* @param rtcio_num The index of rtcio. 0 ~ SOC_RTCIO_PIN_COUNT.
69-
* @param level 0: output low; ~0: output high.
70-
*/
71-
#define rtcio_hal_set_level(rtcio_num, level) rtcio_ll_set_level(rtcio_num, level)
72-
7365
/**
7466
* Enable rtcio input.
7567
*
@@ -84,14 +76,6 @@ extern "C" {
8476
*/
8577
#define rtcio_hal_input_disable(rtcio_num) rtcio_ll_input_disable(rtcio_num)
8678

87-
/**
88-
* Get RTCIO input level.
89-
*
90-
* @param rtcio_num The index of rtcio. 0 ~ SOC_RTCIO_PIN_COUNT.
91-
* @return 0: input low; ~0: input high.
92-
*/
93-
#define rtcio_hal_get_level(rtcio_num) rtcio_ll_get_level(rtcio_num)
94-
9579
/**
9680
* @brief Set RTC GPIO pad drive capability.
9781
*

0 commit comments

Comments
 (0)