diff options
| author | Zoey YJ Chung <zoey.yj.chung.wiwynn@gmail.com> | 2025-06-09 07:09:01 +0300 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2025-06-09 16:04:25 +0300 |
| commit | 66b72ad90b005d3b7ffcc37d877f353fd7eda2d9 (patch) | |
| tree | c5df276c66f283b53401b39407ea03311048827b /meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb | |
| parent | 9b86eddd80e08f3afdee522a1b008ad2992cc59e (diff) | |
| download | openbmc-66b72ad90b005d3b7ffcc37d877f353fd7eda2d9.tar.xz | |
meta-facebook: yosemite4: Add ifNan condition to handle potential NaN values
Summary:
- SYSTEM_PLATFORM_INPUT_PWR_W is used to calculate the total power consumption of the entire system.
If one of the sensor values (e.g., CALIBRATED_MEDUSA_MBx_HSC_12V_INPUT_PWR_W) is NaN,
it will cause the value of SYSTEM_PLATFORM_INPUT_PWR_W to also be NaN,
resulting in it showing as unavailable.
Motivation:
- To avoid NaN values in the virtual sensor SYSTEM_PLATFORM_INPUT_PWR_W.
Test Plan:
- Build code: Pass
- Tested on YV4 system: Pass
Change-Id: Ie504d333b051bdfc6e63aa31bd73cf4accaa62f5
Signed-off-by: Zoey YJ Chung <zoey.yj.chung.wiwynn@gmail.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb')
0 files changed, 0 insertions, 0 deletions
