chiark / gitweb /
Send HELLO as a result of all slaves being online. Do not crash if slave is slow...
[trains.git] / detpic / serout.asm
index 642a0c5f787489326028d0557b640a661c5ef14d..16e545fa6074d456d7c7f9cfa757c000f0d6bccf 100644 (file)
@@ -64,7 +64,6 @@ portb_read @
        bra     txfc_disable
        ; tx enable:
 
- ;pin_h pall_perpicled
        call    led_green ; we're transmitting
        bs_f    PIE1, TXIE
        return
@@ -72,7 +71,6 @@ portb_read @
 ;----------
 txfc_disable
        bc_f    PIE1, TXIE
- ;pin_l pall_perpicled
        goto    led_red ; flow control forces us not to transmit
 
 ;----------------------------------------------------------------------
@@ -143,7 +141,6 @@ tx_bufempty
        bra_nz  tx_acknmra_send
        ; nothing at all to do:
        bc_f    PIE1, TXIE
- ;pin_z pall_perpicled
        call    led_black ; we're not transmitting
        intrl_handled_nostack
 
@@ -151,8 +148,7 @@ tx_bufempty
 serialtxbuf_init @
        clr_f   outmsg_end
        clr_f   outmsg_begin
-       mov_lw  b'00001001'
-       goto    serial_addbyte
+       return
 
 ;======================================================================
   include final.inc