mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-10-31 01:40:49 +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
64.8%
Vue
14.1%
C
7.9%
TypeScript
6.2%
C++
2.8%
Other
4.1%