summaryrefslogtreecommitdiffstats
path: root/src/target/firmware
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-04-21 05:16:45 +0300
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2022-04-25 16:18:04 +0300
commit627e4c4f6c0dae04cf069c9ec43b60a004864991 (patch)
treeb38584c52688c43830ce3b8515233a0c238d6cb5 /src/target/firmware
parent5ef597a7e1481d8061142564a46a21f714bb503e (diff)
firmware/battery: fix -Wunused-variable in battery_compal_e88_timer_cb()
Diffstat (limited to 'src/target/firmware')
-rw-r--r--src/target/firmware/battery/compal_e88.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/target/firmware/battery/compal_e88.c b/src/target/firmware/battery/compal_e88.c
index 42f77f25..788d8ab2 100644
--- a/src/target/firmware/battery/compal_e88.c
+++ b/src/target/firmware/battery/compal_e88.c
@@ -352,7 +352,6 @@ bat_compal_e88_adc_read(){
static void
battery_compal_e88_timer_cb(void *p){
struct osmo_timer_list *tmr = (struct osmo_timer_list*)p;
- int i;
if(bat_compal_e88_adc_read()){ /* read back ADCs after a brief delay */
osmo_timer_schedule(tmr,ADC_TIMER_DELAY);