comparison code_part1/OSTC_code_asm_part1/surfmode.asm @ 815:2a0e5d884fc3

BUGFIX: Fix licence in German BUGFIX: Fix minor layout bug in surface mode
author heinrichsweikamp
date Tue, 12 May 2015 11:30:35 +0200
parents c87b9f2fb2f6
children f8afe90796d6
comparison
equal deleted inserted replaced
814:e50e76f99636 815:2a0e5d884fc3
1 ; OSTC - diving computer code 1 ; OSTC Mk.2, 2N and 2C - diving computer code
2 ; Copyright (C) 2015 HeinrichsWeikamp GbR 2 ; Copyright (C) 2015 HeinrichsWeikamp GbR
3 3
4 ; This program is free software: you can redistribute it and/or modify 4 ; This program is free software: you can redistribute it and/or modify
5 ; it under the terms of the GNU General Public License as published by 5 ; it under the terms of the GNU General Public License as published by
6 ; the Free Software Foundation, either version 3 of the License, or 6 ; the Free Software Foundation, either version 3 of the License, or
461 bra timeout_premenu2 ; Skip in Gauge mode 461 bra timeout_premenu2 ; Skip in Gauge mode
462 btfsc FLAG_apnoe_mode 462 btfsc FLAG_apnoe_mode
463 bra timeout_premenu2 ; Skip in Apnoe mode 463 bra timeout_premenu2 ; Skip in Apnoe mode
464 464
465 timeout_premenu2: 465 timeout_premenu2:
466 call update_surf_press ; rewrite serial number 466 call update_surf_press ; rewrite surf pressure
467 call DISP_serial ; rewrite serial number 467 call DISP_serial ; rewrite serial number
468 call surfcustomview_mask ; rewrite customview
468 clrf timeout_counter3 ; Also clear timeout 469 clrf timeout_counter3 ; Also clear timeout
469 bcf switch_left ; and debounce switches 470 bcf switch_left ; and debounce switches
470 bcf switch_right 471 bcf switch_right
471 return 472 return
472 473