Skip to content

Commit 4e86d8d

Browse files
committed
Removed the min and max temperature
1 parent a9b101a commit 4e86d8d

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

examples/refrigerator-app/silabs/include/RefrigeratorManager.h

-5
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,6 @@ using namespace chip::app::Clusters::RefrigeratorAndTemperatureControlledCabinet
3939
using namespace chip::DeviceLayer;
4040
using chip::Protocols::InteractionModel::Status;
4141

42-
#define MIN_TEMP_COLD_CABINATE 0
43-
#define MAX_TEMP_COLD_CABINATE 7
44-
#define MIN_TEMP_FREEZER_CABINATE -25
45-
#define MAX_TEMP_FREEZER_CABINATE -15
46-
4742
class RefrigeratorManager
4843
{
4944
public:

examples/refrigerator-app/silabs/src/RefrigeratorManager.cpp

-5
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,6 @@ CHIP_ERROR RefrigeratorManager::Init()
7474
SetTagList(kColdCabinetEndpointId, Span<const Clusters::Descriptor::Structs::SemanticTagStruct::Type>(refrigeratorTagList));
7575
SetTagList(kFreezeCabinetEndpointId, Span<const Clusters::Descriptor::Structs::SemanticTagStruct::Type>(freezerTagList));
7676

77-
TempCtrlAttr::MinTemperature::Set(kColdCabinetEndpointId, MIN_TEMP_COLD_CABINATE);
78-
TempCtrlAttr::MaxTemperature::Set(kColdCabinetEndpointId, MAX_TEMP_COLD_CABINATE);
79-
TempCtrlAttr::MinTemperature::Set(kFreezeCabinetEndpointId, MIN_TEMP_FREEZER_CABINATE);
80-
TempCtrlAttr::MaxTemperature::Set(kFreezeCabinetEndpointId, MAX_TEMP_FREEZER_CABINATE);
81-
8277
app::Clusters::TemperatureControl::SetInstance(&sAppSupportedTemperatureLevelsDelegate);
8378
return CHIP_NO_ERROR;
8479
}

0 commit comments

Comments
 (0)