Skip to content
Commit 25382bc4 authored by Phil Elwell's avatar Phil Elwell Committed by popcornmix
Browse files

w1: w1-gpio: Make GPIO an output for strong pullup

The logic to drive the data line high to implement a strong pullup
assumed that the pin was already an output - setting a value does
not change an input.

See: https://github.com/raspberrypi/firmware/issues/1143



Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.org>
parent 8573c04e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment