Fix the initial calibration sample count when doing ADC calibrations.

Obtained from:	Atheros
Approved by:	re (kib)
This commit is contained in:
Adrian Chadd 2011-07-30 13:31:27 +00:00
parent e875139a4f
commit 78b72aff33
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=224515

View File

@ -42,14 +42,14 @@ static const HAL_PERCAL_DATA ar9280_iq_cal = { /* single sample */
static const HAL_PERCAL_DATA ar9280_adc_gain_cal = { /* single sample */
.calName = "ADC Gain", .calType = ADC_GAIN_CAL,
.calNumSamples = MIN_CAL_SAMPLES,
.calCountMax = PER_MIN_LOG_COUNT,
.calCountMax = PER_MAX_LOG_COUNT,
.calCollect = ar5416AdcGainCalCollect,
.calPostProc = ar5416AdcGainCalibration
};
static const HAL_PERCAL_DATA ar9280_adc_dc_cal = { /* single sample */
.calName = "ADC DC", .calType = ADC_DC_CAL,
.calNumSamples = MIN_CAL_SAMPLES,
.calCountMax = PER_MIN_LOG_COUNT,
.calCountMax = PER_MAX_LOG_COUNT,
.calCollect = ar5416AdcDcCalCollect,
.calPostProc = ar5416AdcDcCalibration
};