Mercurial > public > hwos_code
comparison src/compass_ops.asm @ 643:7d8a4c60ec1a
3.15 release
author | heinrichsweikamp |
---|---|
date | Mon, 24 May 2021 18:40:53 +0200 |
parents | 4050675965ea |
children | 070528a88715 357341239438 |
comparison
equal
deleted
inserted
replaced
642:a9a0188091e4 | 643:7d8a4c60ec1a |
---|---|
233 WAITMS d'255' | 233 WAITMS d'255' |
234 WAITMS d'255' | 234 WAITMS d'255' |
235 | 235 |
236 call request_speed_fastest ; request CPU speed change to fastest speed | 236 call request_speed_fastest ; request CPU speed change to fastest speed |
237 | 237 |
238 movlw .7 ; initialize gain | 238 movlw .5 ; initialize gain |
239 movff WREG,opt_compass_gain ; ... | 239 movff WREG,opt_compass_gain ; ... |
240 | 240 |
241 movlw .60 ; initialize timeout to 60 seconds | 241 movlw .60 ; initialize timeout to 60 seconds |
242 movwf isr_timeout_reload ; copy WREG to isr_timeout_reload | 242 movwf isr_timeout_reload ; copy WREG to isr_timeout_reload |
243 bsf restart_timeout ; request ISR to restart the timeout | 243 bsf restart_timeout ; request ISR to restart the timeout |