diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-10-18 12:54:01 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-10-18 14:24:54 -0700 |
commit | 1da8181c58cdf038f867c6a6af59b2b0dd82f980 (patch) | |
tree | 7b51103268e815ce4083b0d5fa4d63a986b6aeac | |
parent | d598b64277a3d876e70d65e50073fa8216a9179a (diff) | |
download | chrome-ec-1da8181c58cdf038f867c6a6af59b2b0dd82f980.tar.gz |
cleanup: TMP006 constants should be static
BUG=none
BRANCH=none
TEST=code still builds; this is code cleanup with nothing to test
Change-Id: Ibce47a67c8af51c214bb1ef5e31e9afdd8d2dfd3
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/35964
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | common/tmp006.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/common/tmp006.c b/common/tmp006.c index 3ad4772995..42d21e75d6 100644 --- a/common/tmp006.c +++ b/common/tmp006.c @@ -23,12 +23,12 @@ #define CPRINTF(format, args...) cprintf(CC_THERMAL, format, ## args) /* Constants for calculating target object temperatures */ -const float A1 = 1.75e-3f; -const float A2 = -1.678e-5f; -const float B0 = -2.94e-5f; -const float B1 = -5.7e-7f; -const float B2 = 4.63e-9f; -const float C2 = 13.4f; +static const float A1 = 1.75e-3f; +static const float A2 = -1.678e-5f; +static const float B0 = -2.94e-5f; +static const float B1 = -5.7e-7f; +static const float B2 = 4.63e-9f; +static const float C2 = 13.4f; /* Defined in board_temp_sensor.c. */ extern const struct tmp006_t tmp006_sensors[TMP006_COUNT]; |