Mercurial > public > hwos_code
comparison src/hwos.inc @ 453:b4f28ab23b87
NEW: Show Uptime (Time since last firmware boot) in information menu
author | heinrichsweikamp |
---|---|
date | Mon, 19 Sep 2016 16:32:02 +0200 |
parents | aadfe9f2edaf |
children | e56c45ec309a |
comparison
equal
deleted
inserted
replaced
452:55dcf1b248f2 | 453:b4f28ab23b87 |
---|---|
560 battery_offset res 2 ; For battery gauge IC | 560 battery_offset res 2 ; For battery gauge IC |
561 | 561 |
562 analog_sw1 res 1 ; analog value for switch 1 | 562 analog_sw1 res 1 ; analog value for switch 1 |
563 analog_sw2 res 1 ; analog value for switch 2 | 563 analog_sw2 res 1 ; analog value for switch 2 |
564 battery_type res 1 ; =0:1.5V, =1:3,6V Saft, =2:LiIon 3,7V/0.8Ah, =3:LiIon 3,7V/3.1Ah | 564 battery_type res 1 ; =0:1.5V, =1:3,6V Saft, =2:LiIon 3,7V/0.8Ah, =3:LiIon 3,7V/3.1Ah |
565 uptime res 4 ; Uptime [s] | |
566 lastdive_time res 4 ; Time since last dive [s] | |
565 | 567 |
566 ;----------------------------------------------------------------------------- | 568 ;----------------------------------------------------------------------------- |
567 ; Reserve BANK2 for general purpose buffer (strings, images, etc). | 569 ; Reserve BANK2 for general purpose buffer (strings, images, etc). |
568 ; NOTE: Needs to be aligned with a bank (LOW(buffer)==0). | 570 ; NOTE: Needs to be aligned with a bank (LOW(buffer)==0). |
569 buffer udata_ovr 0x200 | 571 buffer udata_ovr 0x200 |