changeset 637:cdff88f5a4a0

Battery menu for OSTC plus
author heinrichsweikamp
date Sun, 17 May 2020 09:34:18 +0200
parents 9a64914a8fca
children a3b21497d17e
files src/configuration.inc src/menu_tree.asm
diffstat 2 files changed, 4 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/configuration.inc	Thu May 07 09:12:59 2020 +0200
+++ b/src/configuration.inc	Sun May 17 09:34:18 2020 +0200
@@ -44,7 +44,7 @@
 
 #define firmware_creation_year	0x14
 #define firmware_creation_month	0x05
-#define firmware_creation_day	0x07
+#define firmware_creation_day	0x0A
 
 #define firmware_expire_year	0x15
 #define firmware_expire_month	0x02
@@ -64,7 +64,7 @@
 ;                                                                                    122.880 max. available
 #endif
 
-#define _hwos_tech_3_cR
+#define _hwos_tech_2_TR
 
 
 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
@@ -80,7 +80,7 @@
 #endif
 
 #define _language_1		en
-#define _language_2		de
+#define _language_2		none
 
 
 #ifdef xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
--- a/src/menu_tree.asm	Thu May 07 09:12:59 2020 +0200
+++ b/src/menu_tree.asm	Sun May 17 09:34:18 2020 +0200
@@ -2089,12 +2089,7 @@
 	bra		$+4
 	bra		do_use_16650_battery
 
-	movlw	0x93						; OSTC 2 (2017 model)
-	cpfseq	HW_descriptor
-	bra		$+4
-	bra		do_use_16650_battery
-
-	movlw	0x13						; OSTC Plus						TODO: and OSTC 2 new model as of now
+	movlw	0x93						; OSTC Plus and OSTC 2 (2017 model)
 	cpfseq	HW_descriptor
 	bra		$+4
 	bra		do_menu_new_battery_AA_charger