Fix for C++ warning `-Wmissing-field-initializers`
Closes https://github.com/espressif/esp-idf/issues/11383