fix: gpio lines binding must be mut for read_event

This commit is contained in:
Mitchell R 2026-05-13 01:23:09 +02:00
parent 975cc184b3
commit dc96e6c08c

View file

@ -97,7 +97,7 @@ fn run_binding(b: BundleGpioBinding, server: String, key: String, running: Arc<A
opts = opts.bias(bias);
}
let lines = match chip.request_lines(opts) {
let mut lines = match chip.request_lines(opts) {
Ok(l) => l,
Err(e) => {
warn!("gpio: request {}:{} failed: {e}", b.chip, b.pin);