Skip to content

Commit 9aac8f0

Browse files
restyled-commitsjamesharrow
authored andcommitted
Restyled by whitespace
1 parent 78027dc commit 9aac8f0

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

examples/energy-management-app/energy-management-common/device-energy-management/include/DEMDelegate.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ extern std::unique_ptr<chip::app::Clusters::DeviceEnergyManagementManager> gDEMI
2727
extern std::unique_ptr<chip::app::Clusters::DeviceEnergyManagement::DeviceEnergyManagementDelegate> gDEMDelegate;
2828

2929
CHIP_ERROR DeviceEnergyManagementInit();
30-
CHIP_ERROR DeviceEnergyManagementShutdown();
30+
CHIP_ERROR DeviceEnergyManagementShutdown();

examples/energy-management-app/energy-management-common/device-energy-management/src/DEMDelegate.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,4 @@ CHIP_ERROR DeviceEnergyManagementShutdown()
107107
gDEMDelegate.reset();
108108
}
109109
return CHIP_NO_ERROR;
110-
}
110+
}

examples/energy-management-app/energy-management-common/water-heater/include/WhmManufacturer.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ class WhmManufacturer : public DeviceEnergyManagement::DEMManufacturerDelegate
181181
void BoostCommandFinished();
182182

183183

184-
CHIP_ERROR SendPowerReading(EndpointId aEndpointId, Power_mW aActivePower_mW,
184+
CHIP_ERROR SendPowerReading(EndpointId aEndpointId, Power_mW aActivePower_mW,
185185
Voltage_mV aVoltage_mV, Amperage_mA aActiveCurrent_mA);
186186

187187
/* Implement the DEMManufacturerDelegate interface */
@@ -195,7 +195,7 @@ class WhmManufacturer : public DeviceEnergyManagement::DEMManufacturerDelegate
195195
WaterHeaterManagementInstance * mWhmInstance;
196196
ElectricalPowerMeasurement::ElectricalPowerMeasurementInstance * mEPMInstance;
197197
PowerTopology::PowerTopologyInstance * mPTInstance;
198-
DeviceEnergyManagementManager * mDEMInstance;
198+
DeviceEnergyManagementManager * mDEMInstance;
199199
};
200200

201201
/** @brief Helper function to return the singleton WhmManufacturer instance

examples/energy-management-app/energy-management-common/water-heater/src/WhmMain.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ CHIP_ERROR WhmManufacturerShutdown()
179179
CHIP_ERROR WhmApplicationInit()
180180
{
181181
ReturnErrorOnFailure(DeviceEnergyManagementInit());
182-
182+
183183
CHIP_ERROR err = WhmInit();
184184
if (err != CHIP_NO_ERROR)
185185
{

examples/energy-management-app/energy-management-common/water-heater/src/WhmManufacturer.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ WaterHeaterManagementDelegate * GetWhmDelegate()
171171
* @param[in] aVoltage_mV - Voltage measured in milli-volts
172172
* @param[in] aActiveCurrent_mA - ActiveCurrent measured in milli-amps
173173
*/
174-
CHIP_ERROR WhmManufacturer::SendPowerReading(EndpointId aEndpointId,
175-
Power_mW aActivePower_mW,
174+
CHIP_ERROR WhmManufacturer::SendPowerReading(EndpointId aEndpointId,
175+
Power_mW aActivePower_mW,
176176
Voltage_mV aVoltage_mV,
177177
Amperage_mA aActiveCurrent_mA)
178178
{

0 commit comments

Comments
 (0)