We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e42040 commit 6a08b82Copy full SHA for 6a08b82
zephyr/program/lotus/src/led.c
@@ -522,7 +522,8 @@ static void led_tick(void)
522
523
#ifdef CONFIG_BOARD_LOTUS
524
/* GPU bay cover detect switch open */
525
- if (gpio_pin_get_dt(GPIO_DT_FROM_NODELABEL(gpio_f_beam_open_l)) == 0) {
+ if (gpio_pin_get_dt(GPIO_DT_FROM_NODELABEL(gpio_f_beam_open_l)) == 0 &&
526
+ !get_standalone_mode()) {
527
colors[0] = LED_RED;
528
colors[1] = LED_AMBER;
529
colors[2] = LED_OFF;
0 commit comments