Mercurial > public > hwos_code
comparison src/options.asm @ 93:5e1ef9bf32ec
clear pressure sensor compensation upon update
author | heinrichsweikamp |
---|---|
date | Thu, 17 Apr 2014 10:28:04 +0200 |
parents | 7ca1105751c7 |
children | 53a99a2dc6a1 |
comparison
equal
deleted
inserted
replaced
92:7ca1105751c7 | 93:5e1ef9bf32ec |
---|---|
251 return | 251 return |
252 | 252 |
253 rcall option_save ; Save one option. | 253 rcall option_save ; Save one option. |
254 bra option_save_all_1 ; and loop. | 254 bra option_save_all_1 ; and loop. |
255 | 255 |
256 global option_save | |
256 option_save: | 257 option_save: |
257 rcall option_read | 258 rcall option_read |
258 incf opt_eeprom,W ; Should we save it ? | 259 incf opt_eeprom,W ; Should we save it ? |
259 btfsc STATUS,Z ; eeprom address is FFh ? | 260 btfsc STATUS,Z ; eeprom address is FFh ? |
260 return ; YES: nothing to do. | 261 return ; YES: nothing to do. |