diff options
author | 2018-02-15 17:05:00 +0200 | |
---|---|---|
committer | 2018-02-15 17:05:00 +0200 | |
commit | 00735224ca72ea64cfa4b882e2196c8fa03b9731 (patch) | |
tree | 3cce5cfa8223313aa04f479eb8f9cc53261530ac /src | |
parent | 67a585b80a56cd796999fd86565a5d350231c1a9 (diff) | |
download | coffeetemp-00735224ca72ea64cfa4b882e2196c8fa03b9731.tar.gz coffeetemp-00735224ca72ea64cfa4b882e2196c8fa03b9731.tar.bz2 coffeetemp-00735224ca72ea64cfa4b882e2196c8fa03b9731.zip |
tempmodule: fix a misplaced comment.
Diffstat (limited to 'src')
-rw-r--r-- | src/tempmodule/temperature.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tempmodule/temperature.c b/src/tempmodule/temperature.c index 7986585..4f0a5f1 100644 --- a/src/tempmodule/temperature.c +++ b/src/tempmodule/temperature.c @@ -1,6 +1,11 @@ #include <stddef.h> #include "temperature.h" +struct temptuple { + short res; /* Resistance in ohms. */ + short temp; /* Temperatures in 0.1°K. */ +}; + /* * formula by applying Ohms law: * @@ -19,11 +24,6 @@ * We shift the range by one to avoid division by zero. */ -struct temptuple { - short res; /* Resistance in ohms. */ - short temp; /* Temperatures in 0.1°K. */ -}; - int get_resistance(int64_t vt, int64_t ra) { ++vt; |