diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 13:36:15 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-07-01 13:56:39 +0000 |
commit | 6beb3061b0d54a599067b5587c646a5fa0ec1e22 (patch) | |
tree | 4d46e5cab6992717dc8f4bab1665ecf2bcc3b3fd /board | |
parent | 1c6f1775f88d9fa100bbe645fb85a58e85460388 (diff) | |
download | chrome-ec-6beb3061b0d54a599067b5587c646a5fa0ec1e22.tar.gz |
board/gelarshie/board.h: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: I805f79b0364f0b5cbb06fe1497d3e6e381fc28f5
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3728394
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/gelarshie/board.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/board/gelarshie/board.h b/board/gelarshie/board.h index 45b8c42dcc..56777d12c6 100644 --- a/board/gelarshie/board.h +++ b/board/gelarshie/board.h @@ -12,7 +12,7 @@ /* On-body detection */ #define CONFIG_BODY_DETECTION -#define CONFIG_BODY_DETECTION_SENSOR LID_ACCEL +#define CONFIG_BODY_DETECTION_SENSOR LID_ACCEL #define CONFIG_BODY_DETECTION_VAR_NOISE_FACTOR 150 /* % */ #define CONFIG_GESTURE_DETECTION #define CONFIG_GESTURE_DETECTION_MASK BIT(CONFIG_BODY_DETECTION_SENSOR) @@ -21,7 +21,7 @@ #define CONFIG_BUTTON_TRIGGERED_RECOVERY /* Internal SPI flash on NPCX7 */ -#define CONFIG_FLASH_SIZE_BYTES (512 * 1024) /* 512KB internal spi flash */ +#define CONFIG_FLASH_SIZE_BYTES (512 * 1024) /* 512KB internal spi flash */ /* Switchcap */ #define CONFIG_LN9310 @@ -37,7 +37,7 @@ #undef CONFIG_CMD_TASK_RESET /* Battery */ -#define CONFIG_BATTERY_DEVICE_CHEMISTRY "LION" +#define CONFIG_BATTERY_DEVICE_CHEMISTRY "LION" #define CONFIG_BATTERY_REVIVE_DISCONNECT #define CONFIG_BATTERY_FUEL_GAUGE #define CONFIG_BATTERY_VENDOR_PARAM @@ -103,10 +103,7 @@ enum sensor_id { SENSOR_COUNT, }; -enum pwm_channel { - PWM_CH_DISPLIGHT = 0, - PWM_CH_COUNT -}; +enum pwm_channel { PWM_CH_DISPLIGHT = 0, PWM_CH_COUNT }; /* List of possible batteries */ enum battery_type { |