Remove pull-down
This commit is contained in:
parent
5cc7782d4e
commit
c19bc3c299
@ -53,7 +53,7 @@ private func configureGPIO(_ config: ServerConfiguration) {
|
|||||||
baseAddr: 0x7E000000)
|
baseAddr: 0x7E000000)
|
||||||
|
|
||||||
gpio.direction = .IN
|
gpio.direction = .IN
|
||||||
gpio.pull = .down
|
gpio.pull = .neither
|
||||||
gpio.bounceTime = config.bounceTime
|
gpio.bounceTime = config.bounceTime
|
||||||
gpio.onChange { _ in
|
gpio.onChange { _ in
|
||||||
log(info: "Push detected")
|
log(info: "Push detected")
|
||||||
|
Loading…
Reference in New Issue
Block a user