mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
board/kevin: fix misspelled #define
This should be 'THRESHOLD'. BUG=None BRANCH=None TEST=make buildall passes Change-Id: Ib80c21edde6890ec51b809896acd9a6cedf49a87 Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/403421 Reviewed-by: Wonjoon Lee <woojoo.lee@samsung.com> Reviewed-by: Patrick Georgi <pgeorgi@chromium.org>
This commit is contained in:
@@ -432,7 +432,7 @@ struct {
|
||||
};
|
||||
BUILD_ASSERT(ARRAY_SIZE(kevin_boards) == BOARD_VERSION_COUNT);
|
||||
|
||||
#define THRESHHOLD_MV 56 /* Simply assume 1800/16/2 */
|
||||
#define THRESHOLD_MV 56 /* Simply assume 1800/16/2 */
|
||||
|
||||
int board_get_version(void)
|
||||
{
|
||||
@@ -455,7 +455,7 @@ int board_get_version(void)
|
||||
gpio_set_level(GPIO_EC_BOARD_ID_EN_L, 1);
|
||||
|
||||
for (i = 0; i < BOARD_VERSION_COUNT; ++i) {
|
||||
if (mv < kevin_boards[i].expect_mv + THRESHHOLD_MV) {
|
||||
if (mv < kevin_boards[i].expect_mv + THRESHOLD_MV) {
|
||||
version = kevin_boards[i].version;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user