Mercurial > public > hwos_code
comparison src/comm.asm @ 69:50697bd41c54
+CHANGE: Some French Translations
+CHANGE: Default Future TTS=0 (Disabled)
+NEW: Expand "gas change window" up to 1m below programmed
+ change depth (If ppO2 within user-set max. threshold)
+BUGFIX: Intermittent USB connection on MAC
author | heinrichsweikamp |
---|---|
date | Sun, 02 Feb 2014 20:19:53 +0100 |
parents | 00636132cca6 |
children | 0fc8113ddf6d |
comparison
equal
deleted
inserted
replaced
68:53b64c5472e1 | 69:50697bd41c54 |
---|---|
98 | 98 |
99 comm_mode4: | 99 comm_mode4: |
100 call rs232_get_byte | 100 call rs232_get_byte |
101 | 101 |
102 btfss vusb_in ; USB plugged in? | 102 btfss vusb_in ; USB plugged in? |
103 bra comm_service_exit_nousb ; Disconnected -> Exit | 103 bra comm_service_exit_nousb_delay ; Disconnected -> Exit |
104 comm_mode4a: | |
104 | 105 |
105 btfsc switch_right ; Abort with right | 106 btfsc switch_right ; Abort with right |
106 bra comm_service_exit | 107 bra comm_service_exit |
107 | 108 |
108 btfsc onesecupdate | 109 btfsc onesecupdate |
147 ; Enable comm service mode | 148 ; Enable comm service mode |
148 WIN_SMALL comm_status2_column, comm_status2_row | 149 WIN_SMALL comm_status2_column, comm_status2_row |
149 STRCPY_TEXT_PRINT tUsbServiceMode ; Service mode enabled | 150 STRCPY_TEXT_PRINT tUsbServiceMode ; Service mode enabled |
150 bsf comm_service_enabled | 151 bsf comm_service_enabled |
151 bra comm_download_mode0 ; Startbyte for download mode found | 152 bra comm_download_mode0 ; Startbyte for download mode found |
153 | |
154 | |
155 comm_service_exit_nousb_delay: | |
156 WAITMS d'200' | |
157 btfss vusb_in ; USB plugged in? | |
158 bra comm_service_exit_nousb ; Disconnected -> Exit | |
159 bra comm_mode4a ; (Still) connected, return | |
152 | 160 |
153 comm_service_exit_nousb: ; Disconnected -> Exit | 161 comm_service_exit_nousb: ; Disconnected -> Exit |
154 WIN_SMALL comm_status3_column, comm_status3_row | 162 WIN_SMALL comm_status3_column, comm_status3_row |
155 STRCPY_TEXT_PRINT tUsbClosed ; Port closed | 163 STRCPY_TEXT_PRINT tUsbClosed ; Port closed |
156 bra comm_service_exit_common | 164 bra comm_service_exit_common |