Mercurial > public > hwos_code
comparison src/comm.asm @ 223:940155e9aefb
PC config, 1.72 release
author | heinrichsweikamp |
---|---|
date | Wed, 14 Jan 2015 11:37:19 +0100 |
parents | 8fbd8c5ac51f |
children | 23311219dacc |
comparison
equal
deleted
inserted
replaced
222:ecadc17a028f | 223:940155e9aefb |
---|---|
951 movff opt_calibration_O2_ratio, TXREG1; RCREG1=0x37 | 951 movff opt_calibration_O2_ratio, TXREG1; RCREG1=0x37 |
952 dcfsnz WREG | 952 dcfsnz WREG |
953 movff opt_sensor_fallback, TXREG1 ; RCREG1=0x38 | 953 movff opt_sensor_fallback, TXREG1 ; RCREG1=0x38 |
954 dcfsnz WREG | 954 dcfsnz WREG |
955 movff opt_flip_screen, TXREG1 ; RCREG1=0x39 | 955 movff opt_flip_screen, TXREG1 ; RCREG1=0x39 |
956 dcfsnz WREG | |
957 movff opt_cR_button_left, TXREG1 ; RCREG1=0x3A | |
958 dcfsnz WREG | |
959 movff opt_cR_button_right, TXREG1 ; RCREG1=0x3B | |
956 | 960 |
957 comm_read_abort: | 961 comm_read_abort: |
958 bra comm_download_mode0 ; Done. Loop with timeout reset | 962 bra comm_download_mode0 ; Done. Loop with timeout reset |
959 | 963 |
960 comm_read_setting_wait: | 964 comm_read_setting_wait: |
1212 movff RCREG1, opt_calibration_O2_ratio; RCREG1=0x37 | 1216 movff RCREG1, opt_calibration_O2_ratio; RCREG1=0x37 |
1213 dcfsnz WREG | 1217 dcfsnz WREG |
1214 movff RCREG1, opt_sensor_fallback ; RCREG1=0x38 | 1218 movff RCREG1, opt_sensor_fallback ; RCREG1=0x38 |
1215 dcfsnz WREG | 1219 dcfsnz WREG |
1216 movff RCREG1, opt_flip_screen ; RCREG1=0x39 | 1220 movff RCREG1, opt_flip_screen ; RCREG1=0x39 |
1221 dcfsnz WREG | |
1222 movff RCREG1, opt_cR_button_left ; RCREG1=0x3A | |
1223 dcfsnz WREG | |
1224 movff RCREG1, opt_cR_button_right ; RCREG1=0x3B | |
1217 | 1225 |
1218 comm_write_abort: | 1226 comm_write_abort: |
1219 ; Check Options, gases and diluents | 1227 ; Check Options, gases and diluents |
1220 call option_check_all ; Check all options (and reset if not within their min/max boundaries) | 1228 call option_check_all ; Check all options (and reset if not within their min/max boundaries) |
1221 bsf ccr_diluent_setup ; =1: Setting up Diluents ("Gas6-10") | 1229 bsf ccr_diluent_setup ; =1: Setting up Diluents ("Gas6-10") |