diff --git a/Sources/App/configure.swift b/Sources/App/configure.swift index 6972954..6917833 100644 --- a/Sources/App/configure.swift +++ b/Sources/App/configure.swift @@ -53,7 +53,7 @@ private func configureGPIO(_ config: ServerConfiguration) { baseAddr: 0x7E000000) gpio.direction = .IN - gpio.pull = .down + gpio.pull = .neither gpio.bounceTime = config.bounceTime gpio.onChange { _ in log(info: "Push detected")