Skip to content

Commit 8a51a33

Browse files
committed
Renamed field Board.BoardId -> Board.BoardID
1 parent decc48b commit 8a51a33

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

add_build_board_property_if_missing.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ func (*AddBuildBoardPropertyIfMissing) Run(ctx *types.Context) error {
4848
for _, platformRelease := range platform.Releases {
4949
for _, board := range platformRelease.Boards {
5050
if board.Properties["build.board"] == "" {
51-
board.Properties["build.board"] = strings.ToUpper(platform.Architecture + "_" + board.BoardId)
51+
board.Properties["build.board"] = strings.ToUpper(platform.Architecture + "_" + board.BoardID)
5252
logger.Fprintln(
5353
os.Stdout,
5454
constants.LOG_LEVEL_WARN,
5555
constants.MSG_MISSING_BUILD_BOARD,
5656
aPackage.Name,
5757
platform.Architecture,
58-
board.BoardId,
58+
board.BoardID,
5959
board.Properties[constants.BUILD_PROPERTIES_BUILD_BOARD])
6060
}
6161
}

target_board_resolver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func (s *TargetBoardResolver) Run(ctx *types.Context) error {
5757
core = core[strings.Index(core, ":")+1:]
5858

5959
if ctx.Verbose {
60-
logger.Println(constants.LOG_LEVEL_INFO, constants.MSG_USING_BOARD, targetBoard.BoardId, targetPlatform.InstallDir)
60+
logger.Println(constants.LOG_LEVEL_INFO, constants.MSG_USING_BOARD, targetBoard.BoardID, targetPlatform.InstallDir)
6161
logger.Println(constants.LOG_LEVEL_INFO, constants.MSG_USING_CORE, core, actualPlatform.InstallDir)
6262
}
6363

0 commit comments

Comments
 (0)