comparison src/hwos.inc @ 464:0491a84fd0b8

CHANGE: Easier to understand "New Battery" menu (OSTC model dependent)
author heinrichsweikamp
date Wed, 02 Nov 2016 15:46:22 +0100
parents 4927ba3bd3b5
children 7f4c3b2e6bb7
comparison
equal deleted inserted replaced
463:2c58631d5229 464:0491a84fd0b8
432 #define ignore_digit4 cvt_flags,2 432 #define ignore_digit4 cvt_flags,2
433 #define ignore_digit5 cvt_flags,3 433 #define ignore_digit5 cvt_flags,3
434 #DEFINE enable_screen_dumps cvt_flags,4 ; =1: Ignore vin_usb, wait for "l" command (Screen dump 434 #DEFINE enable_screen_dumps cvt_flags,4 ; =1: Ignore vin_usb, wait for "l" command (Screen dump
435 #DEFINE screen_type cvt_flags,5 ; =1: display1, =0; display0 435 #DEFINE screen_type cvt_flags,5 ; =1: display1, =0; display0
436 #DEFINE compass_type cvt_flags,6 ; =1: compass1, =0: compass0 436 #DEFINE compass_type cvt_flags,6 ; =1: compass1, =0: compass0
437 437 #DEFINE analog_switches cvt_flags,7 ; =1: Analog switches available
438 ;---- Misc. 438 ;---- Misc.
439 nofly_time res 2 ; No Fly time in Minutes (Calculated after Dive) 439 nofly_time res 2 ; No Fly time in Minutes (Calculated after Dive)
440 timeout_counter res 1 440 timeout_counter res 1
441 timeout_counter2 res 1 441 timeout_counter2 res 1
442 timeout_counter3 res 1 442 timeout_counter3 res 1
744 #DEFINE analog_sw2_pressed flag13,2 ; =1: Analog switch 2 pressed 744 #DEFINE analog_sw2_pressed flag13,2 ; =1: Analog switch 2 pressed
745 #DEFINE sp2_switched flag13,3 ; =1: This setpoint has been autoselected already 745 #DEFINE sp2_switched flag13,3 ; =1: This setpoint has been autoselected already
746 #DEFINE sp3_switched flag13,4 ; =1: This setpoint has been autoselected already 746 #DEFINE sp3_switched flag13,4 ; =1: This setpoint has been autoselected already
747 #DEFINE sp4_switched flag13,5 ; =1: This setpoint has been autoselected already 747 #DEFINE sp4_switched flag13,5 ; =1: This setpoint has been autoselected already
748 #DEFINE sp5_switched flag13,6 ; =1: This setpoint has been autoselected already 748 #DEFINE sp5_switched flag13,6 ; =1: This setpoint has been autoselected already
749 #DEFINE analog_switches flag13,7 ; =1: Analog switches available 749 #DEFINE use_old_batt_flag flag13,7 ; =1: load old battery information after power-on reset
750 750
751 ;============================================================================= 751 ;=============================================================================
752 ; C-code Routines 752 ; C-code Routines
753 ; PART 2 753 ; PART 2
754 extern deco_calc_CNS_decrease_15min 754 extern deco_calc_CNS_decrease_15min