Skip to content

Commit 4f37de2

Browse files
committed
chore(core): align LED colors with firmware
1 parent 14c418e commit 4f37de2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

core/embed/io/rgb_led/inc/io/rgb_led.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ bool rgb_led_get_enabled(void);
4343
// color: 24-bit RGB color, 0x00RRGGBB
4444
void rgb_led_set_color(uint32_t color);
4545

46-
#define RGBLED_GREEN 0x00FF00
47-
#define RGBLED_RED 0xFF0000
48-
#define RGBLED_BLUE 0x0000FF
49-
#define RGBLED_YELLOW 0xFFFF00
46+
#define RGBLED_GREEN 0x040D04
47+
#define RGBLED_RED 0x640603
48+
#define RGBLED_BLUE 0x050532
49+
#define RGBLED_YELLOW 0x161000
5050

5151
#endif // TREZORHAL_RGB_LED_H

core/embed/projects/bootloader/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ static secbool boot_sequence(secbool manufacturing_mode) {
223223

224224
while (pm_turn_on() != PM_OK) {
225225
#ifdef USE_RGB_LED
226-
rgb_led_set_color(0x400000);
226+
rgb_led_set_color(RGBLED_RED);
227227
#endif
228228
systick_delay_ms(1000);
229229
pm_hibernate();

0 commit comments

Comments
 (0)