Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and nivi-apple committed Jul 26, 2024
1 parent 8e6db6e commit 362ca12
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions examples/thermostat/linux/thermostat-manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,11 @@ CHIP_ERROR ThermostatManager::Init()
ChipLogError(AppServer,
"Initialized a thermostat with \n "
"mSystemMode: %u (%s) \n mRunningMode: %u (%s) \n mLocalTemperature: %d \n mOccupiedHeatingSetpoint: %d \n "
"mOccupiedCoolingSetpoint: %d" "NumberOfPresets: %d",
static_cast<uint8_t>(mSystemMode), SystemModeString(mSystemMode), static_cast<uint8_t>(mRunningMode), RunningModeString(mRunningMode), mLocalTemperature,
mOccupiedHeatingSetpoint, mOccupiedCoolingSetpoint, GetNumberOfPresets());
"mOccupiedCoolingSetpoint: %d"
"NumberOfPresets: %d",
static_cast<uint8_t>(mSystemMode), SystemModeString(mSystemMode), static_cast<uint8_t>(mRunningMode),
RunningModeString(mRunningMode), mLocalTemperature, mOccupiedHeatingSetpoint, mOccupiedCoolingSetpoint,
GetNumberOfPresets());

// TODO: Should this be called later?
EvalThermostatState();
Expand Down Expand Up @@ -365,8 +367,8 @@ void ThermostatManager::EvalThermostatState()
"Eval Thermostat Running Mode \n "
"mSystemMode: %u (%s) \n mRunningMode: %u (%s) \n mLocalTemperature: %d \n mOccupiedHeatingSetpoint: %d \n "
"mOccupiedCoolingSetpoint: %d",
static_cast<uint8_t>(mSystemMode), SystemModeString(mSystemMode), static_cast<uint8_t>(mRunningMode), RunningModeString(mRunningMode), mLocalTemperature,
mOccupiedHeatingSetpoint, mOccupiedCoolingSetpoint);
static_cast<uint8_t>(mSystemMode), SystemModeString(mSystemMode), static_cast<uint8_t>(mRunningMode),
RunningModeString(mRunningMode), mLocalTemperature, mOccupiedHeatingSetpoint, mOccupiedCoolingSetpoint);

switch (mSystemMode)
{
Expand Down

0 comments on commit 362ca12

Please sign in to comment.