Many changes from 2018
[owSlave2.git] / DS2450 / OWDS2450.S
index 1d81abd..a3381b4 100644 (file)
@@ -1,5 +1,5 @@
 \r
-// Copyright (c) 2015, Tobias Mueller tm(at)tm3d.de\r
+// Copyright (c) 2017, Tobias Mueller tm(at)tm3d.de\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  __4MHZ__\r
+//#define _DB_\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_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