On 27-07-22, 10:58, Kent Gibson wrote:
On Fri, Jul 08, 2022 at 05:04:58PM +0530, Viresh Kumar wrote:
diff --git a/bindings/rust/examples/gpioset.rs b/bindings/rust/examples/gpioset.rs
- let rconfig = RequestConfig::new().unwrap();
- rconfig.set_consumer(&args[0]);
- rconfig.set_offsets(&offsets);
- chip.request_lines(&rconfig, &config).unwrap();
Wait rather than exiting immediately?
Wait for what exactly ?
And, as mentioned elsewhere, add a gpiowatch example.
Will do, sure. Any existing example of the same will help though.