mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
Merge branch 'pr_1719' into 'main'
[GH_PR] Fix: Correct MinSetpointDeadBand bounds to use int8_t (CON-1986) See merge request app-frameworks/esp-matter!1433
This commit is contained in:
@@ -475,8 +475,8 @@ void add_bounds_cb(cluster_t *cluster)
|
||||
break;
|
||||
}
|
||||
case Thermostat::Attributes::MinSetpointDeadBand::Id: {
|
||||
int16_t min = 0, max = 1270;
|
||||
esp_matter::attribute::add_bounds(current_attribute, esp_matter_int16(min), esp_matter_int16(max));
|
||||
int8_t min = 0, max = 127;
|
||||
esp_matter::attribute::add_bounds(current_attribute, esp_matter_int8(min), esp_matter_int8(max));
|
||||
break;
|
||||
}
|
||||
case Thermostat::Attributes::ControlSequenceOfOperation::Id: {
|
||||
|
||||
Reference in New Issue
Block a user