comparison src/logbook.asm @ 163:4d71549dcf6c

clarify diluent change in the documentation
author heinrichsweikamp
date Wed, 10 Sep 2014 12:44:56 +0200
parents 95d05cc14736
children 05f2100d2eb8
comparison
equal deleted inserted replaced
162:95d05cc14736 163:4d71549dcf6c
1315 bra logbook_event2 ; Yes! 1315 bra logbook_event2 ; Yes!
1316 btfsc EventByte,4 ; Manual Gas Changed? 1316 btfsc EventByte,4 ; Manual Gas Changed?
1317 bra logbook_event1 ; Yes! 1317 bra logbook_event1 ; Yes!
1318 btfsc EventByte,6 ; Setpoint Change? 1318 btfsc EventByte,6 ; Setpoint Change?
1319 bra logbook_event3 ; Yes! 1319 bra logbook_event3 ; Yes!
1320 btfss EventByte,5 ; Stored Gas Changed? 1320 btfsc EventByte,5 ; Stored Gas Changed?
1321 return ; No, return 1321 bra logbook_event4 ; Yes!
1322 ; Stored Gas changed! 1322 return
1323 call ext_flash_byte_read_plus_0x20 ; Read Gas# 1323
1324 decf timeout_counter2,F ; reduce counter 1324 logbook_event4: ; Stored Gas changed!
1325 call ext_flash_byte_read_plus_0x20 ; Read Gas#
1326 decf timeout_counter2,F ; reduce counter
1325 movff temp1,average_depth_hold_total+3 1327 movff temp1,average_depth_hold_total+3
1326 rcall profile_display_color ; Change profile color according to gas number 1328 rcall profile_display_color ; Change profile color according to gas number
1327 return 1329 return
1328 1330
1329 logbook_event1: ; Gas6 changed 1331 logbook_event1: ; Gas6 changed
1330 bsf gas6_changed 1332 bsf gas6_changed
1331 movlw 6 ; Just color backup to 6 1333 movlw 6 ; Just color backup to 6