comparison code_part1/OSTC_code_asm_part1/start.asm @ 464:6ad9af3a5771 2.01stable

Fix reset gas from 2.0stable
author heinrichsweikamp
date Sun, 02 Oct 2011 17:52:16 +0200
parents af2894e5cda4
children 915e0d38edec
comparison
equal deleted inserted replaced
462:32e1174fb89e 464:6ad9af3a5771
140 write_int_eeprom d'191' 140 write_int_eeprom d'191'
141 write_int_eeprom d'192' 141 write_int_eeprom d'192'
142 write_int_eeprom d'193' 142 write_int_eeprom d'193'
143 write_int_eeprom d'194' ; Reset Default and Current Value to zero 143 write_int_eeprom d'194' ; Reset Default and Current Value to zero
144 clrf EEADRH 144 clrf EEADRH
145
146 ; reset gases (Bug in 2.0 stable)
147 call reset_gases
145 ; goto reset_all_cf ; resets all custom functions bank0 and bank1 and jumps to "restart" 148 ; goto reset_all_cf ; resets all custom functions bank0 and bank1 and jumps to "restart"
146 149
147 restart: 150 restart:
148 movlw b'00000011' 151 movlw b'00000011'
149 movwf T3CON ; Timer3 with 32768Hz clock running 152 movwf T3CON ; Timer3 with 32768Hz clock running