Skip to content

Commit

Permalink
Less threshold for signal detection
Browse files Browse the repository at this point in the history
  • Loading branch information
WiseLord committed Apr 4, 2021
1 parent 8149ee6 commit faafbdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spectrum.c
Expand Up @@ -159,8 +159,8 @@ static void spInitADC(void)

#ifdef STM32F1
LL_ADC_SetAnalogWDMonitChannels(ADC1, LL_ADC_AWD_ALL_CHANNELS_REG);
LL_ADC_SetAnalogWDThresholds(ADC1, LL_ADC_AWD_THRESHOLD_LOW, 2047 - 1024);
LL_ADC_SetAnalogWDThresholds(ADC1, LL_ADC_AWD_THRESHOLD_HIGH, 2047 + 1024);
LL_ADC_SetAnalogWDThresholds(ADC1, LL_ADC_AWD_THRESHOLD_LOW, 2047 - 512);
LL_ADC_SetAnalogWDThresholds(ADC1, LL_ADC_AWD_THRESHOLD_HIGH, 2047 + 512);
#endif

#ifdef STM32F3
Expand Down

0 comments on commit faafbdd

Please sign in to comment.