# HG changeset patch # User heinrichsweikamp # Date 1714388718 -7200 # Node ID c7b7b8a358cd13f303c4d27d859dcf39fc7981d0 # Parent 75e90cd0c2c3aa0b3c9246f56a55fc3eaf71e1e0 hwOS tech 3.22 release diff -r 75e90cd0c2c3 -r c7b7b8a358cd src/configuration.inc --- 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 diff -r 75e90cd0c2c3 -r c7b7b8a358cd src/i2c.asm --- 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