Mercurial > public > hwos_code
diff src/gaslist.asm @ 95:3dfc2b7ced6d
BUGFIX: Show "*" always in front of the initial Setpoint 1
author | heinrichsweikamp |
---|---|
date | Mon, 28 Apr 2014 10:17:18 +0200 |
parents | ec4d8503ec45 |
children | 53a99a2dc6a1 |
line wrap: on
line diff
--- a/src/gaslist.asm Tue Apr 22 12:59:14 2014 +0200 +++ b/src/gaslist.asm Mon Apr 28 10:17:18 2014 +0200 @@ -128,12 +128,10 @@ bcf leftbind PUTC ":" gaslist_strcat_setpoint2: ; Short version - lfsr FSR1,opt_gas_type btfsc divemode bra gaslist_strcat_setpoint4 ; no "*" in divemode - movf gaslist_gas,W - decf PLUSW1,W ; Type-1 into WREG - bnz gaslist_strcat_setpoint3 ; Not "first" + movf gaslist_gas,W ; Number-1 into WREG + bnz gaslist_strcat_setpoint3 ; Not SP1 PUTC "*" bra gaslist_strcat_setpoint4 gaslist_strcat_setpoint3: