Skip to content

Commit

Permalink
fix misuse of namespace in header
Browse files Browse the repository at this point in the history
  • Loading branch information
soares-sergio committed Oct 30, 2024
1 parent b63a9d0 commit 50fb815
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,11 @@
#include <PowerTopologyDelegate.h>
#include <lib/core/CHIPError.h>

using namespace chip::app::Clusters;
using namespace chip::app::Clusters::ElectricalPowerMeasurement;
using namespace chip::app::Clusters::PowerTopology;
using namespace chip::app::Clusters::DeviceEnergyManagement;

CHIP_ERROR EnergyEvseInit(chip::EndpointId endpointId);
CHIP_ERROR EnergyEvseShutdown();

CHIP_ERROR EVSEManufacturerInit(ElectricalPowerMeasurementInstance & epmInstance, PowerTopologyInstance & ptInstance,
DeviceEnergyManagementManager & demInstance, DeviceEnergyManagementDelegate & demDelegate);
CHIP_ERROR EVSEManufacturerInit(chip::app::Clusters::ElectricalPowerMeasurement::ElectricalPowerMeasurementInstance & epmInstance,
chip::app::Clusters::PowerTopology::PowerTopologyInstance & ptInstance,
chip::app::Clusters::DeviceEnergyManagementManager & demInstance,
chip::app::Clusters::DeviceEnergyManagement::DeviceEnergyManagementDelegate & demDelegate);
CHIP_ERROR EVSEManufacturerShutdown();
1 change: 0 additions & 1 deletion examples/energy-management-app/linux/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/

#include <AppMain.h>
#include <EnergyEvseMain.h>
#include <EnergyManagementAppCmdLineOptions.h>
#include <EnergyManagementAppCommonMain.h>
#include <app-common/zap-generated/cluster-objects.h>
Expand Down

0 comments on commit 50fb815

Please sign in to comment.