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:
Shubham Patil
2025-09-10 14:47:01 +05:30
parent 5f8ac5f9c2
commit 7b173696a8
3 changed files with 16 additions and 61 deletions
@@ -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 {