mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
components/esp_matter: further optimize the concentration measurement
- move and remove the redundant function list, function flags, and revision. - remove the templatization and make the function simpler and expose it as a public api
This commit is contained in:
@@ -390,6 +390,8 @@ typedef struct config {
|
||||
void *delegate;
|
||||
config() : measurement_medium(0), feature_flags(0) {}
|
||||
} config_t;
|
||||
|
||||
cluster_t *create(endpoint_t *endpoint, config_t *config, uint8_t flags, uint32_t cluster_id);
|
||||
} /* concentration_measurement */
|
||||
|
||||
namespace carbon_monoxide_concentration_measurement {
|
||||
|
||||
Reference in New Issue
Block a user