projects
/
cortex-from-scratch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
printid and get_temp implementation
[cortex-from-scratch]
/
include
/
drivers
/
tsensor.h
diff --git
a/include/drivers/tsensor.h
b/include/drivers/tsensor.h
index
ced6f5d
..
9695eb7
100644
(file)
--- a/
include/drivers/tsensor.h
+++ b/
include/drivers/tsensor.h
@@
-1,4
+1,8
@@
-extern void tsensor_output(uint16_t, uint16_t/* , uint16_t */);
-extern void tsensor_input(uint16_t);
-extern void run();
+#ifndef __TSENSOR_H
+#define __TSENSOR_H
+
+extern void tsensor_printid();
+extern uint16_t tsensor_get_temp();
+
+#endif