Mercurial > public > hwos_code
comparison src/ghostwriter.asm @ 185:f515712d8cd6
BUGFIX: Check min and max values after PC configuration properly
author | heinrichsweikamp |
---|---|
date | Sat, 18 Oct 2014 10:03:28 +0200 |
parents | 932e91074bdb |
children | 4b2622e0fd50 |
comparison
equal
deleted
inserted
replaced
184:faa06c58e977 | 185:f515712d8cd6 |
---|---|
662 movff char_I_setpoint_cbar+4,WREG | 662 movff char_I_setpoint_cbar+4,WREG |
663 rcall ghostwrite_byte_header ; Setpoint in cbar | 663 rcall ghostwrite_byte_header ; Setpoint in cbar |
664 movff char_I_setpoint_change+4,WREG | 664 movff char_I_setpoint_change+4,WREG |
665 rcall ghostwrite_byte_header ; Change depth | 665 rcall ghostwrite_byte_header ; Change depth |
666 | 666 |
667 movff opt_salinity,WREG ; Salinity (0-5%) | 667 movff opt_salinity,WREG ; Salinity (0-4%) |
668 rcall ghostwrite_byte_header ; Store Salinity to Dive | 668 rcall ghostwrite_byte_header ; Store Salinity to Dive |
669 | 669 |
670 movff int_O_CNS_fraction+0,WREG ; copy into bank1 | 670 movff int_O_CNS_fraction+0,WREG ; copy into bank1 |
671 rcall ghostwrite_byte_header; Stores CNS% | 671 rcall ghostwrite_byte_header; Stores CNS% |
672 movff int_O_CNS_fraction+1,WREG ; copy into bank1 | 672 movff int_O_CNS_fraction+1,WREG ; copy into bank1 |