From e30fa4ba99005e64338fca0625f3447a5fd82225 Mon Sep 17 00:00:00 2001 From: premultiply <4681172+premultiply@users.noreply.github.com> Date: Wed, 11 Feb 2026 12:47:49 +0100 Subject: [PATCH] GPIO: always use pull-up for logic input (#27321) --- plugin/gpio_linux.go | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/gpio_linux.go b/plugin/gpio_linux.go index cc12ff28e..2d63b9e67 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: