tm3d
/
owSlave2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change Slave sends '0' during convert prozess on all DS18B20
[owSlave2.git]
/
common
/
OWRomFunctionsDual.s
diff --git
a/common/OWRomFunctionsDual.s
b/common/OWRomFunctionsDual.s
index
59b3d40
..
adc571c
100644
(file)
--- a/
common/OWRomFunctionsDual.s
+++ b/
common/OWRomFunctionsDual.s
@@
-641,3
+641,17
@@
owinit_cpconfig2:
sts alarmflag,r_temp
RESETZEROMARKER
ret
sts alarmflag,r_temp
RESETZEROMARKER
ret
+
+.global EXTERN_SLEEP
+EXTERN_SLEEP:
+ cli
+ push r_temp
+ ldi r_temp,0
+ sts mode,r_temp ;SLEEP
+ sts gcontrol,r_temp
+ sts sendflag,r_temp
+ sts bcount,r_temp
+ RESETZEROMARKER
+ pop r_temp
+ sei
+ ret
\ No newline at end of file