Mercurial > public > hwos_code
diff 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 |
line wrap: on
line diff
--- a/src/divemenu_tree.asm Fri Jul 24 14:52:39 2015 +0200 +++ b/src/divemenu_tree.asm Tue Jul 28 13:23:09 2015 +0200 @@ -98,6 +98,8 @@ decf menupos,W ; 1-5 -> 0-4 lfsr FSR1,char_I_setpoint_cbar movff PLUSW1,char_I_const_ppO2; Setup fixed Setpoint + movff char_I_const_ppO2,WREG + call transmit_setpoint ; Transmit current setpoint from WREG (in cbar) to external electronics bsf setpoint_changed ; Set flag (For profile) bsf event_occured ; Set global event byte