projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add reg definition for adc driver.
[bertos.git]
/
bertos
/
drv
/
tmp123.h
diff --git
a/bertos/drv/tmp123.h
b/bertos/drv/tmp123.h
index cb7b377c09948ab583d11fa484bdfe08ef93e8db..015076bd77956844ec65add70a7d7f17e0e92f75 100644
(file)
--- a/
bertos/drv/tmp123.h
+++ b/
bertos/drv/tmp123.h
@@
-45,11
+45,11
@@
#include <cpu/types.h>
#include <cpu/types.h>
-#include <
kern
/kfile.h>
+#include <
io
/kfile.h>
-typedef int16_t deci_celsius_t;
+#include <drv/ntc.h> // Macro and data type to manage celsius degree
-de
ci_celsius
_t tmp123_read(KFile *fd);
+de
g
_t tmp123_read(KFile *fd);
void tmp123_init(void);
void tmp123_init(void);