tm3d
/
owSlave2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Many changes from 2018
[owSlave2.git]
/
DS2450
/
OWDS2450.S
diff --git
a/DS2450/OWDS2450.S
b/DS2450/OWDS2450.S
index
1d81abd
..
a3381b4
100644
(file)
--- a/
DS2450/OWDS2450.S
+++ b/
DS2450/OWDS2450.S
@@
-1,5
+1,5
@@
\r
\r
-// Copyright (c) 201
5
, Tobias Mueller tm(at)tm3d.de
\r
+// Copyright (c) 201
7
, Tobias Mueller tm(at)tm3d.de
\r
// All rights reserved.
\r
//
\r
// Redistribution and use in source and binary forms, with or without
\r
// All rights reserved.
\r
//
\r
// Redistribution and use in source and binary forms, with or without
\r
@@
-33,7
+33,8
@@
\r
#define _CHANGEABLE_ID_
\r
#define _ZERO_POLLING_
\r
\r
#define _CHANGEABLE_ID_
\r
#define _ZERO_POLLING_
\r
-
\r
+//#define __4MHZ__
\r
+//#define _DB_
\r
#include "../common/OWConfig.s"
\r
#include "../common/OWCRC16.s"
\r
\r
#include "../common/OWConfig.s"
\r
#include "../common/OWCRC16.s"
\r
\r
@@
-139,9
+140,9
@@
h_readmemory_init_crc:; init erstes CRC byte
;ldi r_bcount,1
\r
rjmp handle_end
\r
h_readmemory_end:
\r
;ldi r_bcount,1
\r
rjmp handle_end
\r
h_readmemory_end:
\r
- ldi r_mode,OW_SLEEP
\r
- clr r_sendflag
\r
- rjmp handle_end
\r
+
//
ldi r_mode,OW_SLEEP
\r
+
//
clr r_sendflag
\r
+ rjmp handle_end
_sleep
\r
h_readmemorycrc1:;init zweites CRC Byte
\r
lds r_rwbyte,crcsave
\r
;ldi r_bcount,1
\r
h_readmemorycrc1:;init zweites CRC Byte
\r
lds r_rwbyte,crcsave
\r
;ldi r_bcount,1
\r