From 63007fb6c136b8475894a6315f12eabeea952ca4 Mon Sep 17 00:00:00 2001 From: Nick Date: Sat, 24 Oct 2020 18:54:56 -0500 Subject: [PATCH] fix: clang-format --- app/drivers/zephyr/battery_voltage_divider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/drivers/zephyr/battery_voltage_divider.c b/app/drivers/zephyr/battery_voltage_divider.c index 5bac5447..09a353a7 100644 --- a/app/drivers/zephyr/battery_voltage_divider.c +++ b/app/drivers/zephyr/battery_voltage_divider.c @@ -47,7 +47,7 @@ struct bvd_data { static uint8_t lithium_ion_mv_to_pct(int16_t bat_mv) { // Simple linear approximation of a battery based off adafruit's discharge graph: // https://learn.adafruit.com/li-ion-and-lipoly-batteries/voltages - + if (bat_mv >= 4200) { return 100; } else if (bat_mv <= 3450) {