From d5e7bf2433c996097ddc05b012614d4020faaa0e Mon Sep 17 00:00:00 2001 From: "romolo.manfredini@gmail.com" Date: Thu, 8 Aug 2013 20:48:00 +0000 Subject: [PATCH] small fix for vario --- src/maths.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/maths.cpp b/src/maths.cpp index 7f97270f7..6202255db 100644 --- a/src/maths.cpp +++ b/src/maths.cpp @@ -146,7 +146,7 @@ void varioWakeup() uint16_t SoundVarioBeepTime; uint16_t SoundVarioBeepFreq; if (verticalSpeed > 0) { - if (verticalSpeed > 640) { + if (verticalSpeed > 1276) { SoundVarioBeepTime=5; } else { SoundVarioBeepTime = 320 - (verticalSpeed >> 2);