summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/jerry/led.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/jerry/led.c b/board/jerry/led.c
index aead84efd8..659803476d 100644
--- a/board/jerry/led.c
+++ b/board/jerry/led.c
@@ -43,7 +43,7 @@ static int bat_led_set(enum led_color color, int on)
static int pwr_led_set(int on)
{
- gpio_set_level(GPIO_POWER_LED, on);
+ gpio_set_level(GPIO_POWER_LED, on ? 0 : 1);
return EC_SUCCESS;
}