Add brief. Add example callout functions. Use tokenToInt to compute date time stamp...
[bertos.git] / bertos / drv / tmp123.c
index 9fcc9165c16efe9f924a308b5dfd53e952bed436..4c90a0e7ddbc6aab9ea04a89fb967ac7ecaaa73b 100644 (file)
 
 #include <kern/kfile.h>
 
+#include <drv/ntc.h> // Macro and data type to manage celsius degree
+
 /**
  * Read temperature from TMP123 chip.
  */
-deci_celsius_t tmp123_read(KFile *fd)
+deg_t tmp123_read(KFile *fd)
 {
        int16_t tmp;