commit | 6497e8a3349f7658db83c6f8b7193bee9ea897c9 | [log] [tgz] |
---|---|---|
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Tue May 02 09:42:43 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Fri May 19 17:53:16 2017 +0000 |
tree | 0aab919e397d2e2801cd2b933240a6317bda880d | |
parent | a2c3fd332cf10c740a7ee3b97b7afe004ed37d2b [diff] |
witherspoon - current divisor not needed in vrm-control.sh Resolves openbmc/openbmc#1427 Change-Id: I2f09f02d1c5dd84395f614f9bd91fe74e0b9e082 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
diff --git a/meta-witherspoon/recipes-phosphor/chassis/vrm-control/vrm-control.sh b/meta-witherspoon/recipes-phosphor/chassis/vrm-control/vrm-control.sh index 8035d2e..c67e244 100644 --- a/meta-witherspoon/recipes-phosphor/chassis/vrm-control/vrm-control.sh +++ b/meta-witherspoon/recipes-phosphor/chassis/vrm-control/vrm-control.sh
@@ -42,7 +42,7 @@ let e=(e^0x1F)+1 e="-$e" fi -printf " %0.3fA\n" `echo $m $e $2 | awk '{print ($1 * 2^$2) / $3}'` +printf " %0.3fA\n" `echo $m $e $2 | awk '{print ($1 * 2^$2)}'` }