lamptest: Add virtual LEDs to group definition
- During LampTest, if a physical LED state has to be changed, the
requirement is that we apply the states after the lamp test is
done. However, there is another requirement that expects the
accurate state of LEDs to be reported. virtual physical LEDs
solves this problem.
- If the lamp test is not running, state of virtual_led will be equal
to real physical LED. However, during LampTest, virtual LED would
indicate the effective state of the LED as if there was no lamp
test. Once the lamp test finishes, state of virtual and physical
would be same.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I9489228725577d942dd469312e871c2ee712cd33
2 files changed