Skip to content

Commit ea4c8c6

Browse files
committed
als iio: add apds9960
1 parent cf115df commit ea4c8c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/als/iio.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ impl Als {
3333
.and_then(|dir| {
3434
dir.filter_map(|e| e.ok())
3535
.find(|e| {
36-
["als", "acpi-als"].contains(
36+
["als", "acpi-als", "apds9960"].contains(
3737
&fs::read_to_string(e.path().join("name"))
3838
.unwrap_or_default()
3939
.trim(),

0 commit comments

Comments
 (0)