Changed the "const char[] name" into "const char name[]", so now the code doesn't produce the "expected identifier or '(' before '[' token" error. Closes https://github.com/espressif/esp-idf/pull/3940