mirror of
https://github.com/BetterCorp/BetterFrame.git
synced 2026-05-26 17:56:34 +00:00
fix: gpio lines binding must be mut for read_event
This commit is contained in:
parent
975cc184b3
commit
dc96e6c08c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue