diff --git a/esp/platform/espp.cpp b/esp/platform/espp.cpp index 18477717f7d..a9f9db19129 100644 --- a/esp/platform/espp.cpp +++ b/esp/platform/espp.cpp @@ -458,7 +458,7 @@ int init_main(int argc, const char* argv[]) // legacy esp.xml will contain a generated global section if present in the environment. // replace the empty stub created by loadConfiguration with this environment globals section. - Owned global = envpt->queryPropTree("global"); + Owned global = envpt->getPropTree("global"); if (global) { Owned currentConfig = getComponentConfig();