Mercurial > public > hwos_code
comparison src/divemode.asm @ 23:e402813343b6
new option to switch samplingrate between 10s and 2s
author | heinrichsweikamp |
---|---|
date | Mon, 08 Jul 2013 12:38:16 +0200 |
parents | 11d4fc797f74 |
children | eca4a201d8cf |
comparison
equal
deleted
inserted
replaced
22:e01c39be267c | 23:e402813343b6 |
---|---|
1136 | 1136 |
1137 diveloop_boot_2: | 1137 diveloop_boot_2: |
1138 SAFE_2BYTE_COPY temperature,minimum_temperature ; Reset Min-Temp registers | 1138 SAFE_2BYTE_COPY temperature,minimum_temperature ; Reset Min-Temp registers |
1139 | 1139 |
1140 ; Init profile recording parameters | 1140 ; Init profile recording parameters |
1141 movlw samplingrate | 1141 movff samplingrate,samplesecs_value ; to avoid EEPROM access in the ISR |
1142 movwf samplesecs_value ; to avoid EEPROM access in the ISR | |
1143 movlw div_temperature | 1142 movlw div_temperature |
1144 movwf divisor_temperature ; load divisors for profile storage | 1143 movwf divisor_temperature ; load divisors for profile storage |
1145 movlw div_deco | 1144 movlw div_deco |
1146 movwf divisor_deco | 1145 movwf divisor_deco |
1147 movlw div_gf | 1146 movlw div_gf |