From: Sebastien Bourdeauducq Date: Thu, 16 May 2013 15:43:56 +0000 (+0200) Subject: software/videomixer: better pot calibration X-Git-Tag: 24jan2021_ls180~2924 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac64701e194c9471eefd5c0baccf8abf827a0353;p=litex.git software/videomixer: better pot calibration --- diff --git a/software/videomixer/main.c b/software/videomixer/main.c index 83af200f..203d69e2 100644 --- a/software/videomixer/main.c +++ b/software/videomixer/main.c @@ -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);