ardupilotwaf: fix ESP32 memory zero comment

Followup to PR #29005 (d9e5f2d8a7).
This commit is contained in:
Thomas Watson 2025-01-20 11:27:49 -06:00 committed by Thomas Watson
parent 634cb02dbd
commit 125c64074c

View File

@ -1068,6 +1068,7 @@ class esp32(Board):
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
@ -1399,7 +1400,6 @@ class linux(Board):
]
# 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: