Catch up with Chibios 20.3 #2555

This commit is contained in:
rusefillc 2022-01-15 21:43:01 -05:00
parent 9d2eede4ca
commit 1d1bebb264
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,8 @@ static constexpr ADCConversionGroup convGroupSlow = {
.pcsel = 0xFFFFFFFF, // enable analog switches on all channels .pcsel = 0xFFFFFFFF, // enable analog switches on all channels
// Thresholds aren't used // Thresholds aren't used
.ltr1 = 0, .htr1 = 0, .ltr2 = 0, .htr2 = 0, .ltr3 = 0, .htr3 = 0, .ltr1 = 0, .htr1 = 0, .ltr2 = 0, .htr2 = 0, .ltr3 = 0, .htr3 = 0,
.awd2cr = 0,
.awd3cr = 0,
.smpr = { .smpr = {
// Configure all channels to use ADC_SAMPLING_SLOW time // Configure all channels to use ADC_SAMPLING_SLOW time
ADC_SMPR1_SMP_AN0(ADC_SAMPLING_SLOW) | ADC_SMPR1_SMP_AN0(ADC_SAMPLING_SLOW) |