Mercurial > public > hwos_code
comparison src/divemenu_tree.asm @ 352:5c6da9fa5cb0
add setpoint change to first sample in CCR mode
author | heinrichsweikamp |
---|---|
date | Tue, 28 Jul 2015 13:23:09 +0200 |
parents | 653a3ab08062 |
children | f0828110d864 |
comparison
equal
deleted
inserted
replaced
351:de8c45fb2ab9 | 352:5c6da9fa5cb0 |
---|---|
96 | 96 |
97 do_switch_sp: | 97 do_switch_sp: |
98 decf menupos,W ; 1-5 -> 0-4 | 98 decf menupos,W ; 1-5 -> 0-4 |
99 lfsr FSR1,char_I_setpoint_cbar | 99 lfsr FSR1,char_I_setpoint_cbar |
100 movff PLUSW1,char_I_const_ppO2; Setup fixed Setpoint | 100 movff PLUSW1,char_I_const_ppO2; Setup fixed Setpoint |
101 movff char_I_const_ppO2,WREG | |
102 call transmit_setpoint ; Transmit current setpoint from WREG (in cbar) to external electronics | |
101 bsf setpoint_changed ; Set flag (For profile) | 103 bsf setpoint_changed ; Set flag (For profile) |
102 bsf event_occured ; Set global event byte | 104 bsf event_occured ; Set global event byte |
103 | 105 |
104 ; Reconfigure last diluent | 106 ; Reconfigure last diluent |
105 extern setup_dil_registers | 107 extern setup_dil_registers |