From 6c51c5f6242dbf1ba8f9355aab512d4b28a75012 Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Thu, 28 Feb 2013 00:58:04 +0100 Subject: [PATCH] control.c: display battery status on status led by default --- firmware/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/control.c b/firmware/control.c index eeeca84..1a768e6 100644 --- a/firmware/control.c +++ b/firmware/control.c @@ -189,7 +189,7 @@ pattern_t *status_led_pattern_select() return buttons_setup_status0_pattern_select(); // FIXME: do something sane - return number_pattern(1 + ambient_zone, 0); + return number_pattern(battery_gauge(), 0); } pattern_t *illumination_led_pattern_select() -- 2.43.5