Skip to content

Commit

Permalink
ardupilotwaf: fix ESP32 memory zero comment
Browse files Browse the repository at this point in the history
Followup to PR #29005 (d9e5f2d).
  • Loading branch information
tpwrules committed Jan 21, 2025
1 parent 634cb02 commit 125c640
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tools/ardupilotwaf/boards.py
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,7 @@ def expand_path(p):
env.CXXFLAGS.remove('-Werror=shadow')

# wrap malloc to ensure memory is zeroed
# note that this also needs to be done in the CMakeLists.txt files
env.LINKFLAGS += ['-Wl,--wrap,malloc']

# TODO: remove once hwdef.dat support is in place
Expand Down Expand Up @@ -1399,7 +1400,6 @@ def configure_env(self, cfg, env):
]

# wrap malloc to ensure memory is zeroed
# note that this also needs to be done in the CMakeLists.txt files
env.LINKFLAGS += ['-Wl,--wrap,malloc']

if cfg.options.force_32bit:
Expand Down

0 comments on commit 125c640

Please sign in to comment.