Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 2507da0

Browse files
authoredNov 24, 2023
Allow Pull Without Output Requirement
Being able to pull doesn't necessarily require being able to output.
1 parent 455cf15 commit 2507da0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/gpio.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ impl<'d, T: Pin, MODE> PinDriver<'d, T, MODE> {
10961096

10971097
pub fn set_pull(&mut self, pull: Pull) -> Result<(), EspError>
10981098
where
1099-
T: InputPin + OutputPin,
1099+
T: InputPin,
11001100
MODE: InputMode,
11011101
{
11021102
if MODE::RTC {

0 commit comments

Comments
 (0)
Please sign in to comment.