Mercurial > public > hwos_code
diff 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 |
line wrap: on
line diff
--- a/src/hwos.inc Fri Jun 10 10:01:42 2016 +0200 +++ b/src/hwos.inc Tue Jun 14 13:02:17 2016 +0200 @@ -24,7 +24,7 @@ #DEFINE softwareversion_beta 1 ; (and 0 for release) ; Firmware version will appear in "Change Firmware" style #DEFINE firmware_expire_year .17 -#DEFINE firmware_expire_month .3 +#DEFINE firmware_expire_month .6 #DEFINE firmware_expire_day .10 #DEFINE comm_service_key 0xABCDEF @@ -411,6 +411,7 @@ #define ignore_digit5 cvt_flags,3 #DEFINE enable_screen_dumps cvt_flags,4 ; =1: Ignore vin_usb, wait for "l" command (Screen dump #DEFINE screen_type cvt_flags,5 ; =1: display1, =0; display0 +#DEFINE compass_type cvt_flags,6 ; =1: compass1, =0: compass0 ;---- Misc. nofly_time res 2 ; No Fly time in Minutes (Calculated after Dive)