Mercurial > public > hwos_code
diff src/comm.asm @ 483:afa7b66a6a84
Make opt_PSCR_drop and opt_PSCR_lungratio PC configurable
author | heinrichsweikamp |
---|---|
date | Mon, 20 Feb 2017 11:56:10 +0100 |
parents | 237afdfb4918 |
children | 4e6f5c36f4cc |
line wrap: on
line diff
--- a/src/comm.asm Tue Feb 07 12:15:12 2017 +0100 +++ b/src/comm.asm Mon Feb 20 11:56:10 2017 +0100 @@ -1062,6 +1062,10 @@ movff opt_diveTimeout, TXREG1 ; RCREG1=0x48 dcfsnz WREG movff button_polarity, TXREG1 ; RCREG1=0x49 + dcfsnz WREG + movff opt_PSCR_drop, TXREG1 ; RCREG1=0x4A + dcfsnz WREG + movff opt_PSCR_lungratio, TXREG1 ; RCREG1=0x4B comm_read_abort: @@ -1367,6 +1371,10 @@ movff RCREG1, opt_diveTimeout ; RCREG1=0x48 dcfsnz WREG bra comm_write_button_polarity ; RCREG1=0x49 + dcfsnz WREG + movff RCREG1, opt_PSCR_drop ; RCREG1=0x4A + dcfsnz WREG + movff RCREG1, opt_PSCR_lungratio ; RCREG1=0x4B comm_write_abort: