From a561e2b1f96ed5cbdf0a31d99e917d0dfeed6aaa Mon Sep 17 00:00:00 2001 From: premultiply <4681172+premultiply@users.noreply.github.com> Date: Mon, 9 Feb 2026 20:01:37 +0100 Subject: [PATCH] use pull-up --- plugin/gpio_linux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/gpio_linux.go b/plugin/gpio_linux.go index cc12ff28ea3..2d63b9e67d5 100644 --- a/plugin/gpio_linux.go +++ b/plugin/gpio_linux.go @@ -46,6 +46,7 @@ func NewGpioPluginFromConfig(ctx context.Context, other map[string]any) (Plugin, switch cc.Function { case GpioTypeRead: p.pin.Input() + p.pin.PullUp() case GpioTypeWrite: p.pin.Output() default: