diff --git a/examples/energy-management-app/esp32/main/main.cpp b/examples/energy-management-app/esp32/main/main.cpp index 4a2cf894e111ff..1d94ac2231b1fc 100644 --- a/examples/energy-management-app/esp32/main/main.cpp +++ b/examples/energy-management-app/esp32/main/main.cpp @@ -236,7 +236,7 @@ extern "C" void app_main() chip::rpc::Init(); #endif - uint8_t features = static_cast(chip::app::Clusters::DeviceEnergyManagement::sFeatureMap.Raw()); + uint8_t features = static_cast(DeviceEnergyManagement::sFeatureMap.Raw()); ESP_LOGI(TAG, "=================================================="); #if defined(CONFIG_ENABLE_EXAMPLE_EVSE_DEVICE)