commit | 7a34a6cae8534f602abbe3bfae0988ef50ac0c9f | [log] [tgz] |
---|---|---|
author | George Liu <liuxiwei@ieisystem.com> | Thu Sep 12 16:03:18 2024 +0800 |
committer | George Liu <liuxiwei@ieisystem.com> | Wed Oct 09 02:34:30 2024 +0000 |
tree | 5642ca340e751f1f12639cc9258089c640a702d8 | |
parent | b1d4518c79c464703ac518128b95caa4ca33301b [diff] |
sensorhandler: Fix failed to obtain sensor threshold If the getSensorThresholds method is called and the threshold fails to be obtained, resp should not be updated to sensorThresholdMap, otherwise this sensor will never be able to obtain the threshold. This commit intends to update resp to sensorThresholdMap only when the getSensorThresholds method is successfully called. Signed-off-by: George Liu <liuxiwei@ieisystem.com> Change-Id: Ia944879f0c19f744ae9b2be3aa7f4c7f73c3e5bb
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage