File tree 5 files changed +7
-7
lines changed
examples/energy-management-app/energy-management-common
5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -27,4 +27,4 @@ extern std::unique_ptr<chip::app::Clusters::DeviceEnergyManagementManager> gDEMI
27
27
extern std::unique_ptr<chip::app::Clusters::DeviceEnergyManagement::DeviceEnergyManagementDelegate> gDEMDelegate ;
28
28
29
29
CHIP_ERROR DeviceEnergyManagementInit ();
30
- CHIP_ERROR DeviceEnergyManagementShutdown ();
30
+ CHIP_ERROR DeviceEnergyManagementShutdown ();
Original file line number Diff line number Diff line change @@ -107,4 +107,4 @@ CHIP_ERROR DeviceEnergyManagementShutdown()
107
107
gDEMDelegate .reset ();
108
108
}
109
109
return CHIP_NO_ERROR;
110
- }
110
+ }
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ class WhmManufacturer : public DeviceEnergyManagement::DEMManufacturerDelegate
181
181
void BoostCommandFinished ();
182
182
183
183
184
- CHIP_ERROR SendPowerReading (EndpointId aEndpointId, Power_mW aActivePower_mW,
184
+ CHIP_ERROR SendPowerReading (EndpointId aEndpointId, Power_mW aActivePower_mW,
185
185
Voltage_mV aVoltage_mV, Amperage_mA aActiveCurrent_mA);
186
186
187
187
/* Implement the DEMManufacturerDelegate interface */
@@ -195,7 +195,7 @@ class WhmManufacturer : public DeviceEnergyManagement::DEMManufacturerDelegate
195
195
WaterHeaterManagementInstance * mWhmInstance ;
196
196
ElectricalPowerMeasurement::ElectricalPowerMeasurementInstance * mEPMInstance ;
197
197
PowerTopology::PowerTopologyInstance * mPTInstance ;
198
- DeviceEnergyManagementManager * mDEMInstance ;
198
+ DeviceEnergyManagementManager * mDEMInstance ;
199
199
};
200
200
201
201
/* * @brief Helper function to return the singleton WhmManufacturer instance
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ CHIP_ERROR WhmManufacturerShutdown()
179
179
CHIP_ERROR WhmApplicationInit ()
180
180
{
181
181
ReturnErrorOnFailure (DeviceEnergyManagementInit ());
182
-
182
+
183
183
CHIP_ERROR err = WhmInit ();
184
184
if (err != CHIP_NO_ERROR)
185
185
{
Original file line number Diff line number Diff line change @@ -171,8 +171,8 @@ WaterHeaterManagementDelegate * GetWhmDelegate()
171
171
* @param[in] aVoltage_mV - Voltage measured in milli-volts
172
172
* @param[in] aActiveCurrent_mA - ActiveCurrent measured in milli-amps
173
173
*/
174
- CHIP_ERROR WhmManufacturer::SendPowerReading (EndpointId aEndpointId,
175
- Power_mW aActivePower_mW,
174
+ CHIP_ERROR WhmManufacturer::SendPowerReading (EndpointId aEndpointId,
175
+ Power_mW aActivePower_mW,
176
176
Voltage_mV aVoltage_mV,
177
177
Amperage_mA aActiveCurrent_mA)
178
178
{
You can’t perform that action at this time.
0 commit comments