changeset 320:c23d9d524eb9 new_screen_layout

VSIbar #3e: additional filter on zero ascend rate
author janos_kovacs <kovjanos@gmail.com>
date Thu, 11 Jun 2015 16:07:29 +0100
parents cf929551d31c
children 8b70dd8d9904
files src/tft_outputs.asm
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/tft_outputs.asm	Thu Jun 11 16:44:32 2015 +0200
+++ b/src/tft_outputs.asm	Thu Jun 11 16:07:29 2015 +0100
@@ -1005,6 +1005,11 @@
 
 TFT_velocity_VSIbar_com:
     clrf    divB
+
+    movlw   .0
+    cpfsgt  divA+0
+    bra     TFT_velocity_VSIbar_clr
+
     ; multiply
     movff   divA+0,xA+0
     clrf    xA+1