[PATCH] configure ostc3: Correct code for right button

Anton Lundin glance at acc.umu.se
Fri Aug 4 06:25:54 PDT 2017


Back when I wrote this code I made a typo. This fixes it.

Reported-By: Alexander Gottwald <jugendtrainingtsck at gmail.com>
Signed-off-by: Anton Lundin <glance at acc.umu.se>
---
 core/configuredivecomputerthreads.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/configuredivecomputerthreads.cpp b/core/configuredivecomputerthreads.cpp
index ff592b71..9499332d 100644
--- a/core/configuredivecomputerthreads.cpp
+++ b/core/configuredivecomputerthreads.cpp
@@ -48,7 +48,7 @@
 #define OSTC3_SETPOINT_FALLBACK	0x38
 #define OSTC3_FLIP_SCREEN	0x39
 #define OSTC3_LEFT_BUTTON_SENSIVITY	0x3A
-#define OSTC3_RIGHT_BUTTON_SENSIVITY	0x3A
+#define OSTC3_RIGHT_BUTTON_SENSIVITY	0x3B
 #define OSTC4_BUTTON_SENSIVITY		0x3A
 #define OSTC3_BOTTOM_GAS_CONSUMPTION	0x3C
 #define OSTC3_DECO_GAS_CONSUMPTION	0x3D
-- 
2.11.0



More information about the subsurface mailing list