Mercurial > public > hwos_code
comparison src/hwos.inc @ 490:8dfb93e80338
NEW: Deep Sleep mode for OSTC Plus and OSTC 2 (2017) (Entered automatically)
NEW: Logbook detail page in larger font (And nicer layout)
CHANGE: Sleep mode current slightly reduced for all hwOS devices
NEW: Logbook now records battery information
NEW: Markers in internal logbook drawn as small "m" next to the profile
| author | heinrichsweikamp |
|---|---|
| date | Wed, 29 Mar 2017 21:35:12 +0200 |
| parents | 1c35fc2e0834 |
| children | 336bfbbeb2b5 |
comparison
equal
deleted
inserted
replaced
| 489:22092d14fd8c | 490:8dfb93e80338 |
|---|---|
| 24 #DEFINE softwareversion_x d'2' ; Software version XX.YY | 24 #DEFINE softwareversion_x d'2' ; Software version XX.YY |
| 25 #DEFINE softwareversion_y d'15' ; Software version XX.YY | 25 #DEFINE softwareversion_y d'15' ; Software version XX.YY |
| 26 #DEFINE softwareversion_beta 1 ; (and 0 for release) | 26 #DEFINE softwareversion_beta 1 ; (and 0 for release) |
| 27 ; Firmware version will appear in "Change Firmware" style | 27 ; Firmware version will appear in "Change Firmware" style |
| 28 #DEFINE firmware_expire_year .18 | 28 #DEFINE firmware_expire_year .18 |
| 29 #DEFINE firmware_expire_month .2 | 29 #DEFINE firmware_expire_month .3 |
| 30 #DEFINE firmware_expire_day .20 | 30 #DEFINE firmware_expire_day .29 |
| 31 | 31 |
| 32 #DEFINE comm_service_key 0xABCDEF | 32 #DEFINE comm_service_key 0xABCDEF |
| 33 | 33 |
| 34 ;----------------------------------------------------------------------------- | 34 ;----------------------------------------------------------------------------- |
| 35 | 35 |
| 759 #DEFINE sp4_switched flag13,5 ; =1: This setpoint has been autoselected already | 759 #DEFINE sp4_switched flag13,5 ; =1: This setpoint has been autoselected already |
| 760 #DEFINE sp5_switched flag13,6 ; =1: This setpoint has been autoselected already | 760 #DEFINE sp5_switched flag13,6 ; =1: This setpoint has been autoselected already |
| 761 #DEFINE use_old_batt_flag flag13,7 ; =1: load old battery information after power-on reset | 761 #DEFINE use_old_batt_flag flag13,7 ; =1: load old battery information after power-on reset |
| 762 | 762 |
| 763 #DEFINE FLAG_pscr_mode flag14,0 ; =1: OSTC is in PSCR mode | 763 #DEFINE FLAG_pscr_mode flag14,0 ; =1: OSTC is in PSCR mode |
| 764 | 764 #DEFINE deep_sleep flag14,1 ; OSTC is in deep sleep (ignore buttons, etc) |
| 765 ;============================================================================= | 765 ;============================================================================= |
| 766 ; C-code Routines | 766 ; C-code Routines |
| 767 ; PART 2 | 767 ; PART 2 |
| 768 extern deco_calc_CNS_decrease_15min | 768 extern deco_calc_CNS_decrease_15min |
| 769 extern deco_calc_CNS_fraction | 769 extern deco_calc_CNS_fraction |
