diff Discovery/Src/settings.c @ 91:8b0fadd413c6 kittz

First stable. With minimal button sensitivity fix(for broken buttons)
author Dmitry Romanov <kitt@bk.ru>
date Mon, 26 Nov 2018 10:13:02 +0300
parents ff7775cc34c4
children be35821a4974
line wrap: on
line diff
--- a/Discovery/Src/settings.c	Fri Nov 23 18:14:56 2018 +0300
+++ b/Discovery/Src/settings.c	Mon Nov 26 10:13:02 2018 +0300
@@ -55,8 +55,8 @@
 {
     .versionFirst   = 1,
     .versionSecond 	= 4,
-    .versionThird   = 5,
-    .versionBeta    = 1,
+    .versionThird   = 3,
+    .versionBeta    = 2,
 
     /* 4 bytes with trailing 0 */
     .signature = "mh",
@@ -1059,9 +1059,9 @@
     // flex values 0, 1, 2
     for(int i=0; i<3;i++)
     {
-        if(Settings.ButtonResponsiveness[i] < 60) // 70-10
+        if(Settings.ButtonResponsiveness[i] < 40) // 50-10  //Fix for broken buttons. :)
         {
-            Settings.ButtonResponsiveness[i] = 70;
+            Settings.ButtonResponsiveness[i] = 40;
             corrections++;
         }
         else
@@ -2660,9 +2660,9 @@
             inputValueRaw = 110;
     }
     else
-    if(inputValueRaw < 70)
+    if(inputValueRaw < 50)
     {
-            inputValueRaw = 70;
+            inputValueRaw = 50;
     }
 
     // the unbalanced value