Mercurial > public > hwos_code
comparison src/hwos.inc @ 427:ceb1b7329dce
add code for new compass chip
author | heinrichsweikamp |
---|---|
date | Tue, 14 Jun 2016 13:02:17 +0200 |
parents | 75f913a029d0 |
children | 95ee78f4a974 |
comparison
equal
deleted
inserted
replaced
426:8f8151bb53bb | 427:ceb1b7329dce |
---|---|
22 #DEFINE softwareversion_x d'2' ; Software version XX.YY | 22 #DEFINE softwareversion_x d'2' ; Software version XX.YY |
23 #DEFINE softwareversion_y d'08' ; Software version XX.YY | 23 #DEFINE softwareversion_y d'08' ; Software version XX.YY |
24 #DEFINE softwareversion_beta 1 ; (and 0 for release) | 24 #DEFINE softwareversion_beta 1 ; (and 0 for release) |
25 ; Firmware version will appear in "Change Firmware" style | 25 ; Firmware version will appear in "Change Firmware" style |
26 #DEFINE firmware_expire_year .17 | 26 #DEFINE firmware_expire_year .17 |
27 #DEFINE firmware_expire_month .3 | 27 #DEFINE firmware_expire_month .6 |
28 #DEFINE firmware_expire_day .10 | 28 #DEFINE firmware_expire_day .10 |
29 | 29 |
30 #DEFINE comm_service_key 0xABCDEF | 30 #DEFINE comm_service_key 0xABCDEF |
31 | 31 |
32 ;----------------------------------------------------------------------------- | 32 ;----------------------------------------------------------------------------- |
409 #define ignore_digit3 cvt_flags,1 | 409 #define ignore_digit3 cvt_flags,1 |
410 #define ignore_digit4 cvt_flags,2 | 410 #define ignore_digit4 cvt_flags,2 |
411 #define ignore_digit5 cvt_flags,3 | 411 #define ignore_digit5 cvt_flags,3 |
412 #DEFINE enable_screen_dumps cvt_flags,4 ; =1: Ignore vin_usb, wait for "l" command (Screen dump | 412 #DEFINE enable_screen_dumps cvt_flags,4 ; =1: Ignore vin_usb, wait for "l" command (Screen dump |
413 #DEFINE screen_type cvt_flags,5 ; =1: display1, =0; display0 | 413 #DEFINE screen_type cvt_flags,5 ; =1: display1, =0; display0 |
414 #DEFINE compass_type cvt_flags,6 ; =1: compass1, =0: compass0 | |
414 | 415 |
415 ;---- Misc. | 416 ;---- Misc. |
416 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) |
417 timeout_counter res 1 | 418 timeout_counter res 1 |
418 timeout_counter2 res 1 | 419 timeout_counter2 res 1 |