Mercurial > public > hwos_code
comparison src/compass_ops.asm @ 620:cd986267a5ca
potential compass bug "fixed"
author | heinrichsweikamp |
---|---|
date | Fri, 22 Feb 2019 16:30:05 +0100 |
parents | d866684249bd |
children | 1ad0531e9078 |
comparison
equal
deleted
inserted
replaced
619:e76a87e087ef | 620:cd986267a5ca |
---|---|
1394 tft_compass_cardinal_NW: | 1394 tft_compass_cardinal_NW: |
1395 STRCAT_TEXT tNW | 1395 STRCAT_TEXT tNW |
1396 return | 1396 return |
1397 | 1397 |
1398 compass_heading_common: | 1398 compass_heading_common: |
1399 btfss compass_enabled ; Compass enabled? | |
1400 return ; No, return | |
1401 | |
1399 call speed_normal | 1402 call speed_normal |
1400 movlw compass_averaging ; numbers of extra averaging | 1403 movlw compass_averaging ; numbers of extra averaging |
1401 movwf up | 1404 movwf up |
1402 compass_heading_common2: | 1405 compass_heading_common2: |
1403 rcall TFT_get_compass | 1406 rcall TFT_get_compass |