Freqency setter bug fixed.

This commit is contained in:
klaute 2016-09-21 16:39:44 +02:00
parent 7afaea4745
commit 267ce2b3a4

View file

@ -207,7 +207,7 @@ void cc_startMeasurement()
uint32_t a1_sum = 0;
uint16_t i = 0;
si5351.set_freq(freq * 100, SI5351_PLL_FIXED, SI5351_CLK0);
si5351.set_freq((uint64_t)freq * 100, SI5351_PLL_FIXED, SI5351_CLK0);
si5351.output_enable(SI5351_CLK0, 1); // enable clock output 0
delay(1);