summaryrefslogtreecommitdiff
path: root/board/cappy2
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 13:25:15 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-01 14:24:29 +0000
commit0efcbdf297211369755a7f1ae543eb3f93100559 (patch)
tree2c2f5a5387152783d0819296fe09face02cd2f12 /board/cappy2
parentec4f00b87f65290c66299910b143615b196e01aa (diff)
downloadchrome-ec-0efcbdf297211369755a7f1ae543eb3f93100559.tar.gz
board/cappy2/battery.c: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: I28d1591e48b359cf795598e8a4f5c3ed7a32edd4 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728131 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board/cappy2')
-rw-r--r--board/cappy2/battery.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/board/cappy2/battery.c b/board/cappy2/battery.c
index a0aef7bd4c..8cdff76ad6 100644
--- a/board/cappy2/battery.c
+++ b/board/cappy2/battery.c
@@ -11,8 +11,8 @@
#include "common.h"
#include "util.h"
-#define CHARGING_VOLTAGE_MV_SAFE 8400
-#define CHARGING_CURRENT_MA_SAFE 1500
+#define CHARGING_VOLTAGE_MV_SAFE 8400
+#define CHARGING_CURRENT_MA_SAFE 1500
/*
* Battery info for lalala battery types. Note that the fields
@@ -165,13 +165,13 @@ int charger_profile_override(struct charge_state_data *curr)
}
enum ec_status charger_profile_override_get_param(uint32_t param,
- uint32_t *value)
+ uint32_t *value)
{
return EC_RES_INVALID_PARAM;
}
enum ec_status charger_profile_override_set_param(uint32_t param,
- uint32_t value)
+ uint32_t value)
{
return EC_RES_INVALID_PARAM;
}