mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-11 02:13:57 -04:00
ardupilotwaf: fix ESP32 memory zero comment
Followup to PR #29005 (d9e5f2d8a7
).
This commit is contained in:
parent
634cb02dbd
commit
125c64074c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user