Skip to content

Commit 26ff9cf

Browse files
committed
Fix AirSpy Mini calibration
1 parent 8ea1e6f commit 26ff9cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/airspy_core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ void sys_clock_init(void)
507507
if(airspy_calib.header == AIRSPY_FLASH_CALIB_HEADER)
508508
{
509509
const int invppb = 1000000000;
510-
airspy_conf->r820t_conf_rw.xtal_freq -= ((int64_t)airspy_conf->r820t_conf_rw.xtal_freq * (int64_t)airspy_calib.correction_ppb + invppb / 2) / invppb;
510+
airspy_conf->r820t_conf_rw.xtal_freq += ((int64_t)airspy_conf->r820t_conf_rw.xtal_freq * (int64_t)airspy_calib.correction_ppb + invppb / 2) / invppb;
511511
}
512512
}
513513

0 commit comments

Comments
 (0)