mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
d01979e3d8
Retrieve the value of the specified component property quickly. The existing `idf_component_get_property` function performs various checks to identify the component interface target, which keeps the component properties, and accepts a component name, target, target alias, or interface. While `idf_component_get_property` uses a cache to identify the component interface relatively quickly, it is still much slower compared to the raw `get_property`. The `__idf_component_get_property_unchecked` function provides a faster way how to obtain component property if the component interface is already known. It skips all the checks, so it must be used carefully. Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>