summaryrefslogtreecommitdiff
path: root/dtt
diff options
context:
space:
mode:
Diffstat (limited to 'dtt')
-rw-r--r--dtt/lm81.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dtt/lm81.c b/dtt/lm81.c
index c83a3cd..03bc53d 100644
--- a/dtt/lm81.c
+++ b/dtt/lm81.c
@@ -134,8 +134,8 @@ int dtt_init (void)
} /* dtt_init() */
#define TEMP_FROM_REG(temp) \
- ((temp)<256?((((temp)&0x1fe) >> 1) * 10) + ((temp) & 1) * 5: \
- ((((temp)&0x1fe) >> 1) -255) * 10 - ((temp) & 1) * 5) \
+ ((temp)<256?((((temp)&0x1fe) >> 1) * 10) + ((temp) & 1) * 5: \
+ ((((temp)&0x1fe) >> 1) -255) * 10 - ((temp) & 1) * 5) \
int dtt_get_temp(int sensor)
{