Browse Source

Merge pull request #2829 from wavexx/la10_15_readjust

Re-adjust LA10->15 conversion
DRracer 4 years ago
parent
commit
3093c8c7f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Firmware/la10compat.cpp

+ 1 - 1
Firmware/la10compat.cpp

@@ -38,7 +38,7 @@ void la10c_mode_change(LA10C_MODE mode)
 // Approximate a LA10 value to a LA15 equivalent.
 static float la10c_convert(float k)
 {
-    float new_K = k * 0.004 - 0.05;
+    float new_K = k * 0.002 - 0.01;
     return new_K < 0? 0:
            new_K > (LA_K_MAX - FLT_EPSILON)? (LA_K_MAX - FLT_EPSILON):
            new_K;