From c19bc3c2993576ff873325ed76250d352eab04cc Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Tue, 27 Sep 2022 20:51:20 +0200 Subject: [PATCH] Remove pull-down --- Sources/App/configure.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")