From ac48ba8ac7c4e1644eb37321894b26a3eef083e8 Mon Sep 17 00:00:00 2001 From: "Jan \"Yenya\" Kasprzak" Date: Mon, 3 Jun 2013 22:05:09 +0200 Subject: [PATCH] battery.c: don't report battery critical for now --- firmware/battery.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/firmware/battery.c b/firmware/battery.c index 192acf0..542d20e 100644 --- a/firmware/battery.c +++ b/firmware/battery.c @@ -112,8 +112,10 @@ unsigned char battery_gauge() rv = 10; } - if (rv == 1) +#if 0 + if (battery_adcval && rv == 1) battery_critical = 1; +#endif #if 0 log_byte(0xbb); -- 2.43.5