Commit graph

1 commit

Author SHA1 Message Date
Clayton Craft
184bc634e6
temp/upower: fix led detection on the librem5 (MR 1986)
The previous implementation of this caused upower to select a thing
called 'flash_strobe' in the L5, which doesn't operate like a
flashlight. This changes the detection logic to look at the suffix, on
the pinephone the device ends in ':flash', and on the L5 it ends in
':torch'.

fixed #967
2021-03-02 11:34:45 +03:00