mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
a2926640e9
and refactoring attribute::update and attribute::report were eating up the error code returned by set_val and returning ESP_OK. This hide all the errors reported by set_val. attribute::update and attribute::report are identical with a simple delta of whether to call the attribute callback or not. So, refactored it into as helper function.