comparison src/menu_tree.asm @ 637:cdff88f5a4a0

Battery menu for OSTC plus
author heinrichsweikamp
date Sun, 17 May 2020 09:34:18 +0200
parents 9a64914a8fca
children a3b21497d17e
comparison
equal deleted inserted replaced
635:9a64914a8fca 637:cdff88f5a4a0
2087 movlw 0xB3 ; OSTC 2 TR 2087 movlw 0xB3 ; OSTC 2 TR
2088 cpfseq HW_descriptor 2088 cpfseq HW_descriptor
2089 bra $+4 2089 bra $+4
2090 bra do_use_16650_battery 2090 bra do_use_16650_battery
2091 2091
2092 movlw 0x93 ; OSTC 2 (2017 model) 2092 movlw 0x93 ; OSTC Plus and OSTC 2 (2017 model)
2093 cpfseq HW_descriptor
2094 bra $+4
2095 bra do_use_16650_battery
2096
2097 movlw 0x13 ; OSTC Plus TODO: and OSTC 2 new model as of now
2098 cpfseq HW_descriptor 2093 cpfseq HW_descriptor
2099 bra $+4 2094 bra $+4
2100 bra do_menu_new_battery_AA_charger 2095 bra do_menu_new_battery_AA_charger
2101 2096
2102 ; movlw 0x0A ; OSTC 3 (USB model) 2097 ; movlw 0x0A ; OSTC 3 (USB model)