Mercurial > public > hwos_code
comparison src/hwos.inc @ 319:cf929551d31c new_screen_layout
move flag13 into bank common
author | heinrichsweikamp |
---|---|
date | Thu, 11 Jun 2015 16:44:32 +0200 |
parents | 4f83470dcece |
children | d21b172d5a7a |
comparison
equal
deleted
inserted
replaced
318:6d8c82fe5a01 | 319:cf929551d31c |
---|---|
318 compass_r res 3 | 318 compass_r res 3 |
319 | 319 |
320 CNS_start res 2 ; CNS value at beginning of dive | 320 CNS_start res 2 ; CNS value at beginning of dive |
321 GF_start res 1 ; GF value at beginning of dive | 321 GF_start res 1 ; GF value at beginning of dive |
322 | 322 |
323 speed_setting res 1 ; =1: Eco, =2: Normal, =3: Fastest | |
324 | |
323 ;---- Data for graphical compass | 325 ;---- Data for graphical compass |
324 xRD res 2 ; virtual compass ruler offset | 326 xRD res 2 ; virtual compass ruler offset |
325 xRDr res 2 ; virtual compass ruler offset - right end | 327 xRDr res 2 ; virtual compass ruler offset - right end |
326 xRD180 res 2 ; virtual compass ruler offset for the -180 marker | 328 xRD180 res 2 ; virtual compass ruler offset for the -180 marker |
327 xLO res 1 ; lo backup to prevent trashing | 329 xLO res 1 ; lo backup to prevent trashing |
353 flag8 res 1 | 355 flag8 res 1 |
354 flag9 res 1 | 356 flag9 res 1 |
355 flag10 res 1 | 357 flag10 res 1 |
356 flag11 res 1 | 358 flag11 res 1 |
357 flag12 res 1 | 359 flag12 res 1 |
360 flag13 res 1 | |
358 | 361 |
359 hardware_flag res 1 ; hardware descriptor flag | 362 hardware_flag res 1 ; hardware descriptor flag |
360 | 363 |
361 temp1 res 1 | 364 temp1 res 1 |
362 temp2 res 1 | 365 temp2 res 1 |
409 #define ignore_digit4 cvt_flags,2 | 412 #define ignore_digit4 cvt_flags,2 |
410 #define ignore_digit5 cvt_flags,3 | 413 #define ignore_digit5 cvt_flags,3 |
411 #DEFINE enable_screen_dumps cvt_flags,4 ; =1: Ignore vin_usb, wait for "l" command (Screen dump) | 414 #DEFINE enable_screen_dumps cvt_flags,4 ; =1: Ignore vin_usb, wait for "l" command (Screen dump) |
412 | 415 |
413 ;---- Misc. | 416 ;---- Misc. |
414 speed_setting res 1 ; =1: Eco, =2: Normal, =3: Fastest | |
415 nofly_time res 2 ; No Fly time in Minutes (Calculated after Dive) | 417 nofly_time res 2 ; No Fly time in Minutes (Calculated after Dive) |
416 timeout_counter res 1 | 418 timeout_counter res 1 |
417 timeout_counter2 res 1 | 419 timeout_counter2 res 1 |
418 timeout_counter3 res 1 | 420 timeout_counter3 res 1 |
419 batt_voltage res 2 ; Battery voltage in mV | 421 batt_voltage res 2 ; Battery voltage in mV |
684 #DEFINE compass_bearing_ahd flag12,4 ; bearing is ahead or behind? | 686 #DEFINE compass_bearing_ahd flag12,4 ; bearing is ahead or behind? |
685 #DEFINE blinking_depth_warning flag12,5 ; set by the color_depth. =1: warning color | 687 #DEFINE blinking_depth_warning flag12,5 ; set by the color_depth. =1: warning color |
686 #DEFINE blinking_depth_prev flag12,6 ; set by the TFT_depth. =1: prev display had warning color | 688 #DEFINE blinking_depth_prev flag12,6 ; set by the TFT_depth. =1: prev display had warning color |
687 #DEFINE blinking_depth_toggle flag12,7 ; toggle to blink | 689 #DEFINE blinking_depth_toggle flag12,7 ; toggle to blink |
688 | 690 |
689 flag13 res 1 | |
690 #DEFINE neg_flag_velocity flag13,0 ; neg_flag backup for velocity logic | 691 #DEFINE neg_flag_velocity flag13,0 ; neg_flag backup for velocity logic |
691 #DEFINE velocity_warn flag13,1 ; flag set when ascend is in warning rate | 692 #DEFINE velocity_warn flag13,1 ; flag set when ascend is in warning rate |
692 #DEFINE velocity_attn flag13,2 ; flag set when ascend is in attention rate | 693 #DEFINE velocity_attn flag13,2 ; flag set when ascend is in attention rate |
693 | 694 |
694 ;============================================================================= | 695 ;============================================================================= |