Mercurial > public > mk2
changeset 529:e2acb601504c
some cleanup
author | heinrichsweikamp |
---|---|
date | Fri, 16 Dec 2011 21:13:28 +0100 |
parents | 67ab3c028bc2 |
children | bcc12b70879d |
files | code_part1/OSTC_code_asm_part1/definitions.asm code_part1/OSTC_code_asm_part1/eeprom_rs232.asm code_part1/OSTC_code_asm_part1/pled_outputs.asm |
diffstat | 3 files changed, 21 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/definitions.asm Tue Dec 13 21:00:40 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/definitions.asm Fri Dec 16 21:13:28 2011 +0100 @@ -334,7 +334,7 @@ active_gas res 1 ; Holds number of active gas last_diluent res 1 ; backup of diluent percentage in const ppO2 mode -last_ppO2_value res 1 ; last calculated ppO2 value +;last_ppO2_value res 1 ; last calculated ppO2 value debug_char res 6 ; For debugmode @@ -368,7 +368,7 @@ movlw low(tag) movff WREG,temp10+0 movlw high(tag) - movff WREG,temp10+0 + movff WREG,temp10+1 call PLED_resetdebugger @end: Endif
--- a/code_part1/OSTC_code_asm_part1/eeprom_rs232.asm Tue Dec 13 21:00:40 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/eeprom_rs232.asm Fri Dec 16 21:13:28 2011 +0100 @@ -166,16 +166,16 @@ nop nop nop - btfsc PIR1,RCIF ; data arrived? - return - nop nop nop nop btfsc PIR1,RCIF ; data arrived? return - + nop + nop + nop + nop nop nop nop @@ -186,6 +186,20 @@ nop nop nop + nop + nop + nop + nop + btfsc PIR1,RCIF ; data arrived? + return + nop + nop + nop + nop + nop + nop + nop + nop btfsc PIR1,RCIF ; data arrived? return
--- a/code_part1/OSTC_code_asm_part1/pled_outputs.asm Tue Dec 13 21:00:40 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/pled_outputs.asm Fri Dec 16 21:13:28 2011 +0100 @@ -1694,7 +1694,7 @@ PLED_depth: - ostc_debug 'r' ; Sends debug-information to screen if debugmode active +; ostc_debug 'r' ; Sends debug-information to screen if debugmode active SAFE_2BYTE_COPY rel_pressure, lo call adjust_depth_with_salinity ; computes salinity setting into lo:hi [mbar]