software/videomixer: better pot calibration
authorSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 16 May 2013 15:43:56 +0000 (17:43 +0200)
committerSebastien Bourdeauducq <sebastien@milkymist.org>
Thu, 16 May 2013 15:43:56 +0000 (17:43 +0200)
software/videomixer/main.c

index 83af200fe0f76845621e6e7fbd99d67779d1000f..203d69e20758acb74522b618af07365a0b29f3cc 100644 (file)
@@ -13,8 +13,8 @@
 
 static int scale_pot(int raw, int range)
 {
-       int pot_min = 54000;
-       int pot_max = 105400;
+       int pot_min = 64000;
+       int pot_max = 103000;
        int scaled;
 
        scaled = range*(raw - pot_min)/(pot_max - pot_min);