apps/system/lm75: Missing semicolon when floating point enabled
This commit is contained in:
parent
cbbc58722b
commit
632480ce24
@ -137,13 +137,16 @@ int lm75_main(int argc, char *argv[])
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
/* Print the current temperature on stdout */
|
||||
|
||||
#ifdef CONFIG_LIBC_FLOATINGPOINT
|
||||
temp = (double)temp16 / 65536.0
|
||||
temp = (double)temp16 / 65536.0;
|
||||
#ifdef CONFIG_SYSTEM_LM75_FAHRENHEIT
|
||||
printf("%3.2f degrees Fahrenheit\n", temp);
|
||||
#else
|
||||
printf("%3.2f degrees Centigrade\n", temp);
|
||||
#endif
|
||||
|
||||
#else
|
||||
#ifdef CONFIG_SYSTEM_LM75_FAHRENHEIT
|
||||
printf("0x%04x.%04x degrees Fahrenheit\n", temp16 >> 16, temp16 & 0xffff);
|
||||
|
Loading…
x
Reference in New Issue
Block a user