Change a bit pi4 freq/2 method

pi4
F5OEO 2020-07-23 14:11:44 +01:00 zatwierdzone przez f5oeo
rodzic e48ebd5b23
commit 7f6f1be34e
1 zmienionych plików z 8 dodań i 2 usunięć

Wyświetl plik

@ -390,11 +390,17 @@ int clkgpio::SetCenterFrequency(uint64_t Frequency, int Bandwidth)
{ {
//Choose best PLLDiv and Div //Choose best PLLDiv and Div
ComputeBestLO(Frequency, Bandwidth); //FixeDivider update
if(pi_is_2711) if(pi_is_2711)
{ {
PllFixDivider=PllFixDivider/2; ComputeBestLO(Frequency*2, Bandwidth); //FixeDivider update
//PllFixDivider=PllFixDivider/2;
} }
else
{
ComputeBestLO(Frequency, Bandwidth); //FixeDivider update
}
if(PllFixDivider==1) if(PllFixDivider==1)
{ {