Просмотр исходного кода

Небольшие правки

zaytsev.mikhail.olegovich@gmail.com 1 год назад
Родитель
Сommit
3e2dada9d6
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      command.c

+ 1 - 1
command.c

@@ -40,7 +40,7 @@ void handleFreqCmd(const char* recvBuff)
 	lmx_freq = lmx_get_freq(freq[0]);
 	f_pd = ad9912_set(bar1, lmx_freq, f_pd);
 	printf("f_pd frequency is set to %.6f MHz\n", f_pd/1e6);
-    lmx_freq_set(bar1, freq[0], f_pd);
+    lmx_freq_set(bar1, lmx_freq, f_pd);
 	// Switch the keys 
 	key_switch(bar1, freq[0],lmx_freq);
     printf("The frequency is set to %.2f MHz\n", freq[0]/1e6);