From b7a37c4e8a88264c96126c22ef6042f034bd0dc8 Mon Sep 17 00:00:00 2001 From: bsongis Date: Thu, 21 Feb 2013 21:14:14 +0000 Subject: [PATCH] [all] Stupid bug in calcRESXto100 --- src/open9x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/open9x.cpp b/src/open9x.cpp index 1785c0bd2..403d08858 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -598,7 +598,7 @@ int16_t calc100toRESX(int8_t x) int8_t calcRESXto100(int16_t x) { - return (x*25) << 8; + return (x*25) >> 8; } int16_t calc1000toRESX(int16_t x) // improve calc time by Pat MacKenzie