diff options
Diffstat (limited to 'components/temperature.c')
-rw-r--r-- | components/temperature.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/temperature.c b/components/temperature.c index 4e27a9d..bbec80b 100644 --- a/components/temperature.c +++ b/components/temperature.c @@ -44,6 +44,6 @@ } /* kelvin to celsius */ - return bprintf("%d", (temp.value - 273150000) / 1000000); + return bprintf("%d", (temp.value - 273150000) / 1E6); } #endif |