summaryrefslogtreecommitdiff
path: root/software/ihu/temp.inc
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2013-06-30 17:46:17 +0000
committerChristian Pointner <equinox@mur.at>2013-06-30 17:46:17 +0000
commit6a7cc2a548bc2a4a2716735eaabbbf2186cea461 (patch)
treeb17ae4c03458ea10380bf3f105c9d2a85a19d804 /software/ihu/temp.inc
parentwhitespace cleanups (diff)
yet another whitespace cleanup
git-svn-id: https://svn.spreadspace.org/mur.sat@800 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/ihu/temp.inc')
-rw-r--r--software/ihu/temp.inc20
1 files changed, 10 insertions, 10 deletions
diff --git a/software/ihu/temp.inc b/software/ihu/temp.inc
index 6c9504d..0a5a736 100644
--- a/software/ihu/temp.inc
+++ b/software/ihu/temp.inc
@@ -8,10 +8,10 @@
;; ESC im Labor and realraum.
;;
;; Please visit the project hompage at sat.mur.at for further information.
- ;;
+ ;;
;;
;; Copyright (C) 2011 Christian Pointner <equinox@mur.at>
- ;;
+ ;;
;; This file is part of mur.sat.
;;
;; mur.sat is free software: you can redistribute it and/or modify
@@ -67,21 +67,21 @@ owire_response_loop
decfsz OWIRE_CNT,f
goto owire_response_loop
return
-
+
;; -------------------------------------
owire_write1
bsf STATUS,RP0
bcf OWIRE
nop
bsf OWIRE
- bcf STATUS,RP0
+ bcf STATUS,RP0
movlw .20
movwf OWIRE_CNT
owire_write1_loop
decfsz OWIRE_CNT,f
goto owire_write1_loop
return
-
+
;; -------------------------------------
owire_write0
bsf STATUS,RP0
@@ -116,7 +116,7 @@ owire_readbit
bcf OWIRE
nop
bsf OWIRE
- bcf STATUS,RP0
+ bcf STATUS,RP0
nop
btfss OWIRE
bcf OWIRE_BYTE,7
@@ -134,15 +134,15 @@ owire_read_byte
movlw .8
movwf OWIRE_BIT_CNT
owire_read_loop
- call owire_readbit
+ call owire_readbit
decfsz OWIRE_BIT_CNT,f
- goto owire_read_next
+ goto owire_read_next
return
owire_read_next
rrf OWIRE_BYTE,f
goto owire_read_loop
-
+
;; -------------------------------------
temp_init
call owire_presence
@@ -182,7 +182,7 @@ temp_read_value_loop
btfss OWIRE_BYTE,7
goto temp_read_value_loop
-
+
call owire_presence
btfsc OWIRE_BYTE,0
goto temp_read_value_error