Mercurial > public > hwos_code
changeset 655:c7b7b8a358cd default tip
hwOS tech 3.22 release
author | heinrichsweikamp |
---|---|
date | Mon, 29 Apr 2024 13:05:18 +0200 |
parents | 75e90cd0c2c3 |
children | |
files | src/configuration.inc src/i2c.asm |
diffstat | 2 files changed, 7 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/configuration.inc Thu Mar 14 16:56:46 2024 +0100 +++ b/src/configuration.inc Mon Apr 29 13:05:18 2024 +0200 @@ -23,8 +23,8 @@ ; #endif -#define fw_version_major 0x03 -#define fw_version_minor 0x16 +#define fw_version_major .3;0x03 +#define fw_version_minor .22;0x15 #define fw_version_beta 0x00 @@ -43,8 +43,8 @@ #endif #define firmware_creation_year .24;0x18 -#define firmware_creation_month .03;0x09 -#define firmware_creation_day .11;0x06 +#define firmware_creation_month .04;0x09 +#define firmware_creation_day .24;0x06 #define firmware_expire_year .27;0x18 #define firmware_expire_month .01;0x08 @@ -64,7 +64,7 @@ ; 122.880 max. available #endif -#define _hwos_sport +#define _hwos_tech_3_cR #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx @@ -79,7 +79,7 @@ ; #endif -#define _language_1 en +#define _language_1 de #define _language_2 none
--- a/src/i2c.asm Thu Mar 14 16:56:46 2024 +0100 +++ b/src/i2c.asm Mon Apr 29 13:05:18 2024 +0200 @@ -1044,6 +1044,7 @@ ; Helper Function - Initialize Gauge IC again after an UVLO Event ; lt2942_init_again: + rcall I2CReset movlw 0x02 ; point to accumulated charge registers rcall I2C_TX_GAUGE ; send byte to the LT2942 gauge IC movff battery_accumulated_charge+1,SSP1BUF ; data byte