Mercurial > public > hwos_code
diff src/comm.asm @ 444:d93d75ae01bf
Adjustable timeout for Divemode (Config 0x48)
author | heinrichsweikamp |
---|---|
date | Wed, 17 Aug 2016 09:50:37 +0200 |
parents | 360acdcda0d7 |
children | aadfe9f2edaf |
line wrap: on
line diff
--- a/src/comm.asm Tue Jul 26 12:25:02 2016 +0200 +++ b/src/comm.asm Wed Aug 17 09:50:37 2016 +0200 @@ -1075,6 +1075,9 @@ movff opt_safety_stop_reset, TXREG1 ; RCREG1=0x46 dcfsnz WREG clrf TXREG1 ; RCREG1=0x47, ignore conservatism for standard hwOS + dcfsnz WREG + movff opt_diveTimeout, TXREG1 ; RCREG1=0x48 + comm_read_abort: comm_read_done: @@ -1375,6 +1378,8 @@ movff RCREG1, opt_safety_stop_reset ; RCREG1=0x46 dcfsnz WREG nop ; RCREG1=0x47, ignore conservatism for standard hwOS + dcfsnz WREG + movff RCREG1, opt_diveTimeout ; RCREG1=0x48 comm_write_abort: