Skip to content

Commit a19d521

Browse files
committed
Merge branch 'fix/bounds' into 'main'
components/esp-matter: Removed unnecessary prints See merge request app-frameworks/esp-matter!874
2 parents af66657 + a0ba2b6 commit a19d521

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

components/esp_matter/esp_matter_attribute_bounds.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ void add_bounds_cb(cluster_t *cluster)
5050

5151
case Identify::Attributes::IdentifyType::Id: {
5252
uint8_t min = 0, max = 6;
53-
esp_matter::attribute::add_bounds(current_attribute, esp_matter_enum8(min), esp_matter_enum8(max));
53+
esp_matter::attribute::add_bounds(current_attribute, esp_matter_uint8(min), esp_matter_uint8(max));
5454
break;
5555
}
5656
default:
57-
ESP_LOGI(TAG, "No need to set boudnds for attribute!!!");
57+
break;
5858
}
5959
current_attribute = esp_matter::attribute::get_next(current_attribute);
6060
}
@@ -84,7 +84,7 @@ void add_bounds_cb(cluster_t *cluster)
8484
break;
8585
}
8686
default:
87-
ESP_LOGI(TAG, "No need to set boudnds for attribute!!!");
87+
break;
8888
}
8989
current_attribute = esp_matter::attribute::get_next(current_attribute);
9090
}
@@ -113,7 +113,7 @@ void add_bounds_cb(cluster_t *cluster)
113113
break;
114114
}
115115
default:
116-
ESP_LOGI(TAG, "No need to set boudnds for attribute!!!");
116+
break;
117117
}
118118
current_attribute = esp_matter::attribute::get_next(current_attribute);
119119
}
@@ -238,7 +238,7 @@ void add_bounds_cb(cluster_t *cluster)
238238
break;
239239
}
240240
default:
241-
ESP_LOGI(TAG, "No need to set boudnds for attribute!!!");
241+
break;
242242
}
243243
current_attribute = esp_matter::attribute::get_next(current_attribute);
244244
}
@@ -361,7 +361,7 @@ void add_bounds_cb(cluster_t *cluster)
361361
break;
362362
}
363363
default:
364-
ESP_LOGI(TAG, "No need to set boudnds for attribute!!!");
364+
break;
365365
}
366366
current_attribute = esp_matter::attribute::get_next(current_attribute);
367367
}

0 commit comments

Comments
 (0)