diff options
author | Devin Lu <Devin.Lu@quantatw.com> | 2021-07-20 11:03:45 +0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-07-21 02:19:37 +0000 |
commit | 7163250d1e8f34e05e62997d5532c5df2c52bae1 (patch) | |
tree | efe8fdc967189574be6329a9476c09214a5e91e8 | |
parent | edc228bf8103f9b5f557c1891131d87bf55e62a5 (diff) | |
download | chrome-ec-7163250d1e8f34e05e62997d5532c5df2c52bae1.tar.gz |
cleanup: Fix Dynapack string
The naming string should be DYNAPACK.
BUG=none
BRANCH=none
TEST=make buildall
Signed-off-by: Devin Lu <Devin.Lu@quantatw.com>
Change-Id: I32f2498d4e51a83bd323d313a862622b6e69967d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3038017
Reviewed-by: Tommy Chung <tommy.chung@quanta.corp-partner.google.com>
Reviewed-by: caveh jalali <caveh@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r-- | board/bloog/battery.c | 8 | ||||
-rw-r--r-- | board/bloog/board.h | 6 | ||||
-rw-r--r-- | board/burnet/battery.c | 6 | ||||
-rw-r--r-- | board/burnet/board.h | 4 | ||||
-rw-r--r-- | board/careena/battery.c | 8 | ||||
-rw-r--r-- | board/careena/board.h | 6 | ||||
-rw-r--r-- | board/dirinboz/battery.c | 4 | ||||
-rw-r--r-- | board/dirinboz/board.h | 4 | ||||
-rw-r--r-- | board/drawcia/battery.c | 10 | ||||
-rw-r--r-- | board/drawcia/board.h | 8 | ||||
-rw-r--r-- | board/gumboz/battery.c | 4 | ||||
-rw-r--r-- | board/gumboz/board.h | 4 | ||||
-rw-r--r-- | board/haboki/battery.c | 10 | ||||
-rw-r--r-- | board/haboki/board.h | 8 | ||||
-rw-r--r-- | board/jinlon/battery.c | 4 | ||||
-rw-r--r-- | board/jinlon/board.h | 2 | ||||
-rw-r--r-- | board/kappa/battery.c | 6 | ||||
-rw-r--r-- | board/kappa/board.h | 4 | ||||
-rw-r--r-- | board/lantis/battery.c | 6 | ||||
-rw-r--r-- | board/lantis/board.h | 4 | ||||
-rw-r--r-- | board/madoo/battery.c | 4 | ||||
-rw-r--r-- | board/madoo/board.h | 4 | ||||
-rw-r--r-- | board/meep/battery.c | 8 | ||||
-rw-r--r-- | board/meep/board.h | 6 |
24 files changed, 69 insertions, 69 deletions
diff --git a/board/bloog/battery.c b/board/bloog/battery.c index f4992b3c82..f67b21d3b5 100644 --- a/board/bloog/battery.c +++ b/board/bloog/battery.c @@ -33,7 +33,7 @@ */ const struct board_batt_params board_battery_info[] = { /* DynaPack Coslight BDAK126150-W0P0703HT attery Information */ - [BATTERY_DANAPACK_COS] = { + [BATTERY_DYNAPACK_COS] = { .fuel_gauge = { .manuf_name = "333-2C-DA-A", .ship_mode = { @@ -62,7 +62,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack ATL DynaPack DAK126150-W0G0703HT Battery Information */ - [BATTERY_DANAPACK_ATL] = { + [BATTERY_DYNAPACK_ATL] = { .fuel_gauge = { .manuf_name = "333-27-DA-A", .ship_mode = { @@ -91,7 +91,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack SDI DAK126150-W020703HT Battery Information */ - [BATTERY_DANAPACK_SDI] = { + [BATTERY_DYNAPACK_SDI] = { .fuel_gauge = { .manuf_name = "333-24-DA-A", .ship_mode = { @@ -324,4 +324,4 @@ const struct board_batt_params board_battery_info[] = { }; BUILD_ASSERT(ARRAY_SIZE(board_battery_info) == BATTERY_TYPE_COUNT); -const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DANAPACK_COS; +const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DYNAPACK_COS; diff --git a/board/bloog/board.h b/board/bloog/board.h index 245a45b8ce..458e7c7e4d 100644 --- a/board/bloog/board.h +++ b/board/bloog/board.h @@ -85,9 +85,9 @@ enum sensor_id { }; enum battery_type { - BATTERY_DANAPACK_COS, - BATTERY_DANAPACK_ATL, - BATTERY_DANAPACK_SDI, + BATTERY_DYNAPACK_COS, + BATTERY_DYNAPACK_ATL, + BATTERY_DYNAPACK_SDI, BATTERY_SAMSUNG_SDI, BATTERY_SIMPLO_COS, BATTERY_SIMPLO_ATL, diff --git a/board/burnet/battery.c b/board/burnet/battery.c index 6373040d45..35a2ebc7df 100644 --- a/board/burnet/battery.c +++ b/board/burnet/battery.c @@ -9,7 +9,7 @@ const struct board_batt_params board_battery_info[] = { /* Dynapack ATL Battery Information */ - [BATTERY_DANAPACK_ATL] = { + [BATTERY_DYNAPACK_ATL] = { .fuel_gauge = { .manuf_name = "333-27-DA-A", .ship_mode = { @@ -37,7 +37,7 @@ const struct board_batt_params board_battery_info[] = { }, }, /* Dynapack CosMX Battery Information */ - [BATTERY_DANAPACK_COS] = { + [BATTERY_DYNAPACK_COS] = { .fuel_gauge = { .manuf_name = "333-2C-DA-A", .ship_mode = { @@ -179,7 +179,7 @@ const struct board_batt_params board_battery_info[] = { }; BUILD_ASSERT(ARRAY_SIZE(board_battery_info) == BATTERY_TYPE_COUNT); -const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DANAPACK_ATL; +const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DYNAPACK_ATL; enum battery_present battery_hw_present(void) { diff --git a/board/burnet/board.h b/board/burnet/board.h index 31e76d892f..65791750b5 100644 --- a/board/burnet/board.h +++ b/board/burnet/board.h @@ -118,8 +118,8 @@ enum charge_port { }; enum battery_type { - BATTERY_DANAPACK_ATL, - BATTERY_DANAPACK_COS, + BATTERY_DYNAPACK_ATL, + BATTERY_DYNAPACK_COS, BATTERY_SIMPLO_COS, BATTERY_SIMPLO_HIGHPOWER, BATTERY_SAMSUNG_SDI, diff --git a/board/careena/battery.c b/board/careena/battery.c index 9ac07d7764..7180109168 100644 --- a/board/careena/battery.c +++ b/board/careena/battery.c @@ -33,7 +33,7 @@ */ const struct board_batt_params board_battery_info[] = { /* DynaPack Coslight Battery Information */ - [BATTERY_DANAPACK_COS] = { + [BATTERY_DYNAPACK_COS] = { .fuel_gauge = { .manuf_name = "333-2C-DA-A", .ship_mode = { @@ -63,7 +63,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack ATL Battery Information */ - [BATTERY_DANAPACK_ATL] = { + [BATTERY_DYNAPACK_ATL] = { .fuel_gauge = { .manuf_name = "333-27-DA-A", .ship_mode = { @@ -93,7 +93,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack SDI Battery Information */ - [BATTERY_DANAPACK_SDI] = { + [BATTERY_DYNAPACK_SDI] = { .fuel_gauge = { .manuf_name = "333-24-DA-A", .ship_mode = { @@ -274,4 +274,4 @@ const struct board_batt_params board_battery_info[] = { }; BUILD_ASSERT(ARRAY_SIZE(board_battery_info) == BATTERY_TYPE_COUNT); -const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DANAPACK_COS; +const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DYNAPACK_COS; diff --git a/board/careena/board.h b/board/careena/board.h index 3022feea54..b37567001c 100644 --- a/board/careena/board.h +++ b/board/careena/board.h @@ -47,9 +47,9 @@ enum pwm_channel { }; enum battery_type { - BATTERY_DANAPACK_COS, - BATTERY_DANAPACK_ATL, - BATTERY_DANAPACK_SDI, + BATTERY_DYNAPACK_COS, + BATTERY_DYNAPACK_ATL, + BATTERY_DYNAPACK_SDI, BATTERY_SAMSUNG_SDI, BATTERY_SIMPLO_COS, BATTERY_SIMPLO_ATL, diff --git a/board/dirinboz/battery.c b/board/dirinboz/battery.c index f53143aa65..c148f9aa52 100644 --- a/board/dirinboz/battery.c +++ b/board/dirinboz/battery.c @@ -120,7 +120,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack ATL Battery Information */ - [BATTERY_DANAPACK_ATL] = { + [BATTERY_DYNAPACK_ATL] = { .fuel_gauge = { .manuf_name = "333-27-DA-A", .ship_mode = { @@ -149,7 +149,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack Coslight Battery Information */ - [BATTERY_DANAPACK_COS] = { + [BATTERY_DYNAPACK_COS] = { .fuel_gauge = { .manuf_name = "333-2C-DA-A", .ship_mode = { diff --git a/board/dirinboz/board.h b/board/dirinboz/board.h index 0da2465f0d..ac6f69fc70 100644 --- a/board/dirinboz/board.h +++ b/board/dirinboz/board.h @@ -86,8 +86,8 @@ enum battery_type { BATTERY_SIMPLO_COS, BATTERY_SIMPLO_HIGHPOWER, BATTERY_SAMSUNG_SDI, - BATTERY_DANAPACK_ATL, - BATTERY_DANAPACK_COS, + BATTERY_DYNAPACK_ATL, + BATTERY_DYNAPACK_COS, BATTERY_COSMX, BATTERY_TYPE_COUNT, }; diff --git a/board/drawcia/battery.c b/board/drawcia/battery.c index a11dce7de9..62d6e95947 100644 --- a/board/drawcia/battery.c +++ b/board/drawcia/battery.c @@ -33,7 +33,7 @@ */ const struct board_batt_params board_battery_info[] = { /* DynaPack CosMX Battery Information */ - [BATTERY_DANAPACK_COS] = { + [BATTERY_DYNAPACK_COS] = { .fuel_gauge = { .manuf_name = "333-2C-DA-A", .ship_mode = { @@ -64,7 +64,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack ATL Battery Information */ - [BATTERY_DANAPACK_ATL] = { + [BATTERY_DYNAPACK_ATL] = { .fuel_gauge = { .manuf_name = "333-27-DA-A", .ship_mode = { @@ -95,7 +95,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack HIGHPOWER Battery Information */ - [BATTERY_DANAPACK_HIGHPOWER] = { + [BATTERY_DYNAPACK_HIGHPOWER] = { .fuel_gauge = { .manuf_name = "333-2D-0D-A", .ship_mode = { @@ -126,7 +126,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack BYD Battery Information */ - [BATTERY_DANAPACK_BYD] = { + [BATTERY_DYNAPACK_BYD] = { .fuel_gauge = { .manuf_name = "333-2E-0D-A", .ship_mode = { @@ -346,4 +346,4 @@ const struct board_batt_params board_battery_info[] = { }; BUILD_ASSERT(ARRAY_SIZE(board_battery_info) == BATTERY_TYPE_COUNT); -const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DANAPACK_COS; +const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DYNAPACK_COS; diff --git a/board/drawcia/board.h b/board/drawcia/board.h index 856f564323..55adab5106 100644 --- a/board/drawcia/board.h +++ b/board/drawcia/board.h @@ -134,10 +134,10 @@ enum temp_sensor_id { /* List of possible batteries */ enum battery_type { - BATTERY_DANAPACK_COS, - BATTERY_DANAPACK_ATL, - BATTERY_DANAPACK_HIGHPOWER, - BATTERY_DANAPACK_BYD, + BATTERY_DYNAPACK_COS, + BATTERY_DYNAPACK_ATL, + BATTERY_DYNAPACK_HIGHPOWER, + BATTERY_DYNAPACK_BYD, BATTERY_SAMSUNG_SDI, BATTERY_SIMPLO_COS, BATTERY_SIMPLO_HIGHPOWER, diff --git a/board/gumboz/battery.c b/board/gumboz/battery.c index c7bb050b08..7d1831fdbc 100644 --- a/board/gumboz/battery.c +++ b/board/gumboz/battery.c @@ -120,7 +120,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack ATL Battery Information */ - [BATTERY_DANAPACK_ATL] = { + [BATTERY_DYNAPACK_ATL] = { .fuel_gauge = { .manuf_name = "333-27-DA-A", .ship_mode = { @@ -149,7 +149,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack Cosmx Battery Information */ - [BATTERY_DANAPACK_COS] = { + [BATTERY_DYNAPACK_COS] = { .fuel_gauge = { .manuf_name = "333-2C-DA-A", .ship_mode = { diff --git a/board/gumboz/board.h b/board/gumboz/board.h index 004c4e60fe..7375965bb1 100644 --- a/board/gumboz/board.h +++ b/board/gumboz/board.h @@ -91,8 +91,8 @@ enum battery_type { BATTERY_SIMPLO_COS, BATTERY_SIMPLO_HIGHPOWER, BATTERY_SAMSUNG_SDI, - BATTERY_DANAPACK_ATL, - BATTERY_DANAPACK_COS, + BATTERY_DYNAPACK_ATL, + BATTERY_DYNAPACK_COS, BATTERY_COSMX, BATTERY_TYPE_COUNT, }; diff --git a/board/haboki/battery.c b/board/haboki/battery.c index bd2d2089ff..f28b89fee5 100644 --- a/board/haboki/battery.c +++ b/board/haboki/battery.c @@ -33,7 +33,7 @@ */ const struct board_batt_params board_battery_info[] = { /* DynaPack CosMX Battery Information */ - [BATTERY_DANAPACK_COS] = { + [BATTERY_DYNAPACK_COS] = { .fuel_gauge = { .manuf_name = "333-2C-DA-A", .ship_mode = { @@ -64,7 +64,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack ATL Battery Information */ - [BATTERY_DANAPACK_ATL] = { + [BATTERY_DYNAPACK_ATL] = { .fuel_gauge = { .manuf_name = "333-27-DA-A", .ship_mode = { @@ -95,7 +95,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack HIGHPOWER Battery Information */ - [BATTERY_DANAPACK_HIGHPOWER] = { + [BATTERY_DYNAPACK_HIGHPOWER] = { .fuel_gauge = { .manuf_name = "333-2D-0D-A", .ship_mode = { @@ -126,7 +126,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack BYD Battery Information */ - [BATTERY_DANAPACK_BYD] = { + [BATTERY_DYNAPACK_BYD] = { .fuel_gauge = { .manuf_name = "333-2E-0D-A", .ship_mode = { @@ -313,4 +313,4 @@ const struct board_batt_params board_battery_info[] = { }; BUILD_ASSERT(ARRAY_SIZE(board_battery_info) == BATTERY_TYPE_COUNT); -const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DANAPACK_COS; +const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DYNAPACK_COS; diff --git a/board/haboki/board.h b/board/haboki/board.h index 71a7cccf9e..6161151a93 100644 --- a/board/haboki/board.h +++ b/board/haboki/board.h @@ -134,10 +134,10 @@ enum temp_sensor_id { /* List of possible batteries */ enum battery_type { - BATTERY_DANAPACK_COS, - BATTERY_DANAPACK_ATL, - BATTERY_DANAPACK_HIGHPOWER, - BATTERY_DANAPACK_BYD, + BATTERY_DYNAPACK_COS, + BATTERY_DYNAPACK_ATL, + BATTERY_DYNAPACK_HIGHPOWER, + BATTERY_DYNAPACK_BYD, BATTERY_SAMSUNG_SDI, BATTERY_SIMPLO_COS, BATTERY_SIMPLO_HIGHPOWER, diff --git a/board/jinlon/battery.c b/board/jinlon/battery.c index e21df14734..12c2e38d84 100644 --- a/board/jinlon/battery.c +++ b/board/jinlon/battery.c @@ -36,7 +36,7 @@ */ const struct board_batt_params board_battery_info[] = { /* DynaPack CosMX Battery Information */ - [BATTERY_DANAPACK_COS] = { + [BATTERY_DYNAPACK_COS] = { .fuel_gauge = { .manuf_name = "333-2C-14-A", .ship_mode = { @@ -66,4 +66,4 @@ const struct board_batt_params board_battery_info[] = { }; BUILD_ASSERT(ARRAY_SIZE(board_battery_info) == BATTERY_TYPE_COUNT); -const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DANAPACK_COS; +const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DYNAPACK_COS; diff --git a/board/jinlon/board.h b/board/jinlon/board.h index 9ef601877f..ada665098e 100644 --- a/board/jinlon/board.h +++ b/board/jinlon/board.h @@ -179,7 +179,7 @@ enum temp_sensor_id { /* List of possible batteries */ enum battery_type { - BATTERY_DANAPACK_COS, + BATTERY_DYNAPACK_COS, BATTERY_TYPE_COUNT, }; diff --git a/board/kappa/battery.c b/board/kappa/battery.c index c09ac72730..5ae6dc9b91 100644 --- a/board/kappa/battery.c +++ b/board/kappa/battery.c @@ -9,7 +9,7 @@ const struct board_batt_params board_battery_info[] = { /* Dynapack HIGHPOWER DAK124960-W110703HT Battery Information */ - [BATTERY_DANAPACK_HIGHPOWER] = { + [BATTERY_DYNAPACK_HIGHPOWER] = { .fuel_gauge = { .manuf_name = "333-2D-14-A", .ship_mode = { @@ -37,7 +37,7 @@ const struct board_batt_params board_battery_info[] = { }, }, /* Dynapack CosMX DAK124960-W0P0707HT Battery Information */ - [BATTERY_DANAPACK_COS] = { + [BATTERY_DYNAPACK_COS] = { .fuel_gauge = { .manuf_name = "333-2C-14-A", .ship_mode = { @@ -67,7 +67,7 @@ const struct board_batt_params board_battery_info[] = { }; BUILD_ASSERT(ARRAY_SIZE(board_battery_info) == BATTERY_TYPE_COUNT); -const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DANAPACK_HIGHPOWER; +const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DYNAPACK_HIGHPOWER; enum battery_present battery_hw_present(void) { diff --git a/board/kappa/board.h b/board/kappa/board.h index 4840399ccf..f72d4d0c12 100644 --- a/board/kappa/board.h +++ b/board/kappa/board.h @@ -91,8 +91,8 @@ enum charge_port { }; enum battery_type { - BATTERY_DANAPACK_HIGHPOWER, - BATTERY_DANAPACK_COS, + BATTERY_DYNAPACK_HIGHPOWER, + BATTERY_DYNAPACK_COS, BATTERY_TYPE_COUNT, }; diff --git a/board/lantis/battery.c b/board/lantis/battery.c index 9df6861471..94a9128e37 100644 --- a/board/lantis/battery.c +++ b/board/lantis/battery.c @@ -33,7 +33,7 @@ */ const struct board_batt_params board_battery_info[] = { /* DynaPack CosMX Battery Information */ - [BATTERY_DANAPACK_COS] = { + [BATTERY_DYNAPACK_COS] = { .fuel_gauge = { .manuf_name = "333-2C-DA-A", .ship_mode = { @@ -64,7 +64,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack ATL Battery Information */ - [BATTERY_DANAPACK_ATL] = { + [BATTERY_DYNAPACK_ATL] = { .fuel_gauge = { .manuf_name = "333-27-DA-A", .ship_mode = { @@ -189,4 +189,4 @@ const struct board_batt_params board_battery_info[] = { }; BUILD_ASSERT(ARRAY_SIZE(board_battery_info) == BATTERY_TYPE_COUNT); -const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DANAPACK_COS; +const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DYNAPACK_COS; diff --git a/board/lantis/board.h b/board/lantis/board.h index 7fa3d05e2d..31627fc5ce 100644 --- a/board/lantis/board.h +++ b/board/lantis/board.h @@ -131,8 +131,8 @@ enum temp_sensor_id { /* List of possible batteries */ enum battery_type { - BATTERY_DANAPACK_COS, - BATTERY_DANAPACK_ATL, + BATTERY_DYNAPACK_COS, + BATTERY_DYNAPACK_ATL, BATTERY_SIMPLO_COS, BATTERY_SIMPLO_HIGHPOWER, BATTERY_COS, diff --git a/board/madoo/battery.c b/board/madoo/battery.c index 9d17d9b0fd..92afe149f3 100644 --- a/board/madoo/battery.c +++ b/board/madoo/battery.c @@ -123,7 +123,7 @@ const struct board_batt_params board_battery_info[] = { .discharging_max_c = 60, }, }, - [BATTERY_DynaPack_COS] = { + [BATTERY_DYNAPACK_COS] = { .fuel_gauge = { .manuf_name = "333-2C-DA-A", .ship_mode = { @@ -150,7 +150,7 @@ const struct board_batt_params board_battery_info[] = { .discharging_max_c = 60, }, }, - [BATTERY_DANAPACK_ATL] = { + [BATTERY_DYNAPACK_ATL] = { .fuel_gauge = { .manuf_name = "333-27-DA-A", .ship_mode = { diff --git a/board/madoo/board.h b/board/madoo/board.h index 14e732c6e3..7528f256c0 100644 --- a/board/madoo/board.h +++ b/board/madoo/board.h @@ -150,8 +150,8 @@ enum battery_type { BATTERY_SIMPLO_COS, BATTERY_CosMX, BATTERY_SAMSUNG_SDI, - BATTERY_DynaPack_COS, - BATTERY_DANAPACK_ATL, + BATTERY_DYNAPACK_COS, + BATTERY_DYNAPACK_ATL, BATTERY_TYPE_COUNT, }; diff --git a/board/meep/battery.c b/board/meep/battery.c index 295a6c2000..ca9fc531b3 100644 --- a/board/meep/battery.c +++ b/board/meep/battery.c @@ -33,7 +33,7 @@ */ const struct board_batt_params board_battery_info[] = { /* DynaPack Coslight Battery Information */ - [BATTERY_DANAPACK_COS] = { + [BATTERY_DYNAPACK_COS] = { .fuel_gauge = { .manuf_name = "333-2C-DA-A", .ship_mode = { @@ -62,7 +62,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack ATL Battery Information */ - [BATTERY_DANAPACK_ATL] = { + [BATTERY_DYNAPACK_ATL] = { .fuel_gauge = { .manuf_name = "333-27-DA-A", .ship_mode = { @@ -91,7 +91,7 @@ const struct board_batt_params board_battery_info[] = { }, /* DynaPack SDI Battery Information */ - [BATTERY_DANAPACK_SDI] = { + [BATTERY_DYNAPACK_SDI] = { .fuel_gauge = { .manuf_name = "333-24-DA-A", .ship_mode = { @@ -266,4 +266,4 @@ const struct board_batt_params board_battery_info[] = { }; BUILD_ASSERT(ARRAY_SIZE(board_battery_info) == BATTERY_TYPE_COUNT); -const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DANAPACK_COS; +const enum battery_type DEFAULT_BATTERY_TYPE = BATTERY_DYNAPACK_COS; diff --git a/board/meep/board.h b/board/meep/board.h index 362696722a..10fecc874b 100644 --- a/board/meep/board.h +++ b/board/meep/board.h @@ -96,9 +96,9 @@ enum sensor_id { }; enum battery_type { - BATTERY_DANAPACK_COS, - BATTERY_DANAPACK_ATL, - BATTERY_DANAPACK_SDI, + BATTERY_DYNAPACK_COS, + BATTERY_DYNAPACK_ATL, + BATTERY_DYNAPACK_SDI, BATTERY_SAMSUNG_SDI, BATTERY_SIMPLO_COS, BATTERY_SIMPLO_ATL, |