We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34eb432 commit a3ba7d9Copy full SHA for a3ba7d9
features/storage/blockdevice/FlashSimBlockDevice.cpp
@@ -60,6 +60,7 @@ int FlashSimBlockDevice::init()
60
_blank_buf_size = align_up(min_blank_buf_size, _bd->get_program_size());
61
if (!_blank_buf) {
62
_blank_buf = new uint8_t[_blank_buf_size];
63
+ memset(_blank_buf, 0, _blank_buf_size);
64
MBED_ASSERT(_blank_buf);
65
}
66
0 commit comments