summaryrefslogtreecommitdiff
path: root/include/mag_cal.h
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2022-06-27 15:13:18 -0600
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-07-01 11:11:42 +0000
commitfe739110a549fd33de4e3a8f53bc652077078342 (patch)
tree5a44e6861c097ca54c4e21fc2dd576c88e344f6c /include/mag_cal.h
parent95b9a36ebcbb05bb341152b3e6ad63acd28b7cfd (diff)
downloadchrome-ec-fe739110a549fd33de4e3a8f53bc652077078342.tar.gz
include/mag_cal.h: Format with clang-format
BUG=b:236386294 BRANCH=none TEST=none Change-Id: I5fdec73d48a1226aed5a445b2ebf5929c1a33268 Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3730348 Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'include/mag_cal.h')
-rw-r--r--include/mag_cal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/mag_cal.h b/include/mag_cal.h
index 61b24c7da9..3d256a0777 100644
--- a/include/mag_cal.h
+++ b/include/mag_cal.h
@@ -14,8 +14,8 @@
#include "kasa.h"
#define MAG_CAL_MAX_SAMPLES 0xffff
-#define MAG_CAL_MIN_BATCH_WINDOW_US (2 * SECOND)
-#define MAG_CAL_MIN_BATCH_SIZE 50 /* samples */
+#define MAG_CAL_MIN_BATCH_WINDOW_US (2 * SECOND)
+#define MAG_CAL_MIN_BATCH_SIZE 50 /* samples */
struct mag_cal_t {
struct kasa_fit kasa_fit;
@@ -38,4 +38,4 @@ void init_mag_cal(struct mag_cal_t *moc);
* @return 1 if a new calibration value is available, 0 otherwise.
*/
int mag_cal_update(struct mag_cal_t *moc, const intv3_t v);
-#endif /* __CROS_EC_MAG_CAL_H */
+#endif /* __CROS_EC_MAG_CAL_H */