Skip to content

Commit 02adf15

Browse files
LeoCX-TsaiJohnAZoidberg
authored andcommitted
fwk: main: fix auto als powerbtn led behavior
when driver is not ready ALS driver won't return lux data this CL change to use ALS sensor lux data, and use a default level(high) if ALS lux data not ready BRANCH=fwk-main BUG=https://app.clickup.com/t/86et2uph0 TEST=on lilac, into setup menu enable power button led option to auto, 1. check when bootup hide the ALS sensor(make lux data to zero) the power btn LED still keep at high level. 2. after bootup hide the ALS sensor and shutdown unit then bootup again power btn LED keep high level 3. after bootup hide the ALS sensor and reset EC by console reboot then bootup again check power btn LED keep high level Signed-off-by: LeoCX_Tsai <LeoCX_Tsai@compal.com> (cherry picked from commit 948e332)
1 parent 35c81bc commit 02adf15

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

zephyr/program/framework/include/hid_device.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,4 @@ int hid_target_register(const struct device *dev);
2222

2323
int hid_target_unregister(const struct device *dev);
2424

25-
int hidals_lux_get(void);
26-
2725
#endif /* __CROS_EC_I2C_HID_DEVICE_H */

0 commit comments

Comments
 (0)