chiark / gitweb /
reserve /^ [^ ;]/ for statements inserted for debugging purposes
[trains.git] / detpic / detect.asm
index ca6aca8d5d2ec9a483edf172b92724dc151a342e..f5553e6414ddb29ecd6bb9c144927d8a91104b2d 100644 (file)
@@ -7,7 +7,7 @@
 
 ; FSR2 is used as readout pointer
 
- include common.inc
 include common.inc
 
 ; I2C protocol is as follows:
 ;
@@ -59,7 +59,7 @@
 
 max_messages equ 4
 
- udata_acs
 udata_acs
 
 unattendedl    res     1       ; counts up; each det loop it is
 unattendedh    res     1       ; incremented by no. of bytes of pc in
@@ -162,7 +162,7 @@ slave_add_short_message
 
 ;----------
 backgroundloop_again macro backgroundloop_whatever
- local branchposition
 local branchposition
        inc_f_ifnz unattendedl
        bra     backgroundloop_whatever
        mov_lw  branchposition - backgroundloop_whatever
@@ -426,4 +426,4 @@ read_detection_head_master_badmore
        panic   morse_DM
 
 ;======================================================================
- include final.inc
 include final.inc