mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-07-31 01:11:46 +08:00
a8589e48abb9853b0b3ccec31fc6898f6393de3e
The singular default_val argument of gpiod.Line.request() method was introduced in libgpiod 1.3. For older versions of libgpiod, defailt_vals argument with list value should be used. This argument is available in newer versions of libgpiod as well for compatibility. This change is needed for Debian / Raspbian 10 that have libgpiod 1.2. Signed-off-by: Oleg Girko <ol@infoserver.lv>
Languages
Rust
56.8%
Vue
16.1%
C
10.5%
TypeScript
6.7%
C++
3.3%
Other
6.5%