neomagic: fixed a warning about an uninitialized variable.
This commit is contained in:
parent
b449921515
commit
fa49d9714d
@ -205,7 +205,7 @@ status_t nm_dac_pix_pll_find
|
|||||||
{
|
{
|
||||||
int m = 0, n = 0, p = 0, n_max, m_max;
|
int m = 0, n = 0, p = 0, n_max, m_max;
|
||||||
float error, error_best = 999999999;
|
float error, error_best = 999999999;
|
||||||
int best[2];
|
int best[2] = { 0, 0 };
|
||||||
float f_vco, max_pclk;
|
float f_vco, max_pclk;
|
||||||
float req_pclk = target.timing.pixel_clock/1000.0;
|
float req_pclk = target.timing.pixel_clock/1000.0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user