Skip to content

Commit

Permalink
Merge pull request #1269 from bettio/code-format
Browse files Browse the repository at this point in the history
Code format

These changes are made under both the "Apache 2.0" and the "GNU Lesser General
Public License 2.1 or later" license terms (dual license).

SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
  • Loading branch information
bettio committed Sep 15, 2024
2 parents 8bcca51 + 67a2da5 commit de8923e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/platforms/esp32/tools/mkimage.erl
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,13 @@ mkimage(RootDir, BuildDir, BootFile, OutputFile, Segments) ->
end
end,
SegmentPaths = [
replace("BUILD_DIR", BuildDir, replace("BOOT_FILE", BootFile, replace("ROOT_DIR", RootDir, SegmentPath)))
replace(
"BUILD_DIR",
BuildDir,
replace(
"BOOT_FILE", BootFile, replace("ROOT_DIR", RootDir, SegmentPath)
)
)
|| SegmentPath <- maps:get(path, Segment)
],
case try_read(SegmentPaths) of
Expand Down

0 comments on commit de8923e

Please sign in to comment.