From 362ca128d3e089ce2252ab20b4ca18e3d6db143e Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Fri, 26 Jul 2024 18:24:36 +0000 Subject: [PATCH] Restyled by clang-format --- examples/thermostat/linux/thermostat-manager.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/examples/thermostat/linux/thermostat-manager.cpp b/examples/thermostat/linux/thermostat-manager.cpp index 6134ba5326b523..e0ccc9f8ad6de3 100644 --- a/examples/thermostat/linux/thermostat-manager.cpp +++ b/examples/thermostat/linux/thermostat-manager.cpp @@ -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(mSystemMode), SystemModeString(mSystemMode), static_cast(mRunningMode), RunningModeString(mRunningMode), mLocalTemperature, - mOccupiedHeatingSetpoint, mOccupiedCoolingSetpoint, GetNumberOfPresets()); + "mOccupiedCoolingSetpoint: %d" + "NumberOfPresets: %d", + static_cast(mSystemMode), SystemModeString(mSystemMode), static_cast(mRunningMode), + RunningModeString(mRunningMode), mLocalTemperature, mOccupiedHeatingSetpoint, mOccupiedCoolingSetpoint, + GetNumberOfPresets()); // TODO: Should this be called later? EvalThermostatState(); @@ -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(mSystemMode), SystemModeString(mSystemMode), static_cast(mRunningMode), RunningModeString(mRunningMode), mLocalTemperature, - mOccupiedHeatingSetpoint, mOccupiedCoolingSetpoint); + static_cast(mSystemMode), SystemModeString(mSystemMode), static_cast(mRunningMode), + RunningModeString(mRunningMode), mLocalTemperature, mOccupiedHeatingSetpoint, mOccupiedCoolingSetpoint); switch (mSystemMode) {