Skip to content

Commit 71c44d3

Browse files
committed
ui: reduce idle brightness of the status led
The first hardware samples of LXA TACs with status LEDs showed them to be far to bright. Since then we have reduced the current through the "normal" (non-pwm) status LEDs by a factor of 33 in hardware. The brightness of the pwm LEDs was only reduced in hardware by a factor of 7.5. This allows us to still make them light up quite brightly if we want them to. In the idle state their brightness should however match the brightness of the other LEDs. Dim them in software by a factor of 33/7.5 = 4.4. Signed-off-by: Leonard Göhrs <[email protected]>
1 parent 803b208 commit 71c44d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ impl Ui {
161161
led_status_pattern.set(pattern_locator_on.clone());
162162
} else {
163163
// Green light when locator is off
164-
led_status_color.set((0.0, 1.0, 0.0));
164+
led_status_color.set((0.0, 0.23, 0.0));
165165
led_status_pattern.set(pattern_locator_off.clone());
166166
}
167167
}

0 commit comments

Comments
 (0)