comparison src/start.asm @ 93:5e1ef9bf32ec

clear pressure sensor compensation upon update
author heinrichsweikamp
date Thu, 17 Apr 2014 10:28:04 +0200
parents 0fae975af741
children f3062a611eef
comparison
equal deleted inserted replaced
92:7ca1105751c7 93:5e1ef9bf32ec
186 bcf leftbind 186 bcf leftbind
187 STRCAT_PRINT "" ; Print second row 187 STRCAT_PRINT "" ; Print second row
188 call TFT_Display_FadeIn ; Display resulting surface screen. 188 call TFT_Display_FadeIn ; Display resulting surface screen.
189 189
190 ; place "after-update reset" here... 190 ; place "after-update reset" here...
191
192 extern oPressureAdjust, option_reset, option_save
193 lfsr FSR0,oPressureAdjust
194 call option_reset ; Reset FSR0 option to factory default.
195 lfsr FSR0,oPressureAdjust
196 call option_save ; Save in EEPROM
197
191 movlw d'1' ; store current version in EEPROM 198 movlw d'1' ; store current version in EEPROM
192 movwf EEADR 199 movwf EEADR
193 movlw d'1' 200 movlw d'1'
194 movwf EEADRH 201 movwf EEADRH
195 movlw softwareversion_x 202 movlw softwareversion_x