@@ -121,26 +121,26 @@ mod tests {
121
121
let serial_pair = SerialPair {
122
122
0 : gpioa
123
123
. pa9
124
- . into_af7_push_pull ( & mut gpioa. moder , & mut gpioa. otyper , & mut gpioa. afrh ) ,
124
+ . into_af_push_pull ( & mut gpioa. moder , & mut gpioa. otyper , & mut gpioa. afrh ) ,
125
125
1 : gpioa
126
126
. pa10
127
- . into_af7_push_pull ( & mut gpioa. moder , & mut gpioa. otyper , & mut gpioa. afrh ) ,
127
+ . into_af_push_pull ( & mut gpioa. moder , & mut gpioa. otyper , & mut gpioa. afrh ) ,
128
128
} ;
129
129
let cs_pair_1 = CrossSerialPair1 {
130
130
0 : gpioa
131
131
. pa2
132
- . into_af7_push_pull ( & mut gpioa. moder , & mut gpioa. otyper , & mut gpioa. afrl ) ,
132
+ . into_af_push_pull ( & mut gpioa. moder , & mut gpioa. otyper , & mut gpioa. afrl ) ,
133
133
1 : gpiob
134
134
. pb11
135
- . into_af7_open_drain ( & mut gpiob. moder , & mut gpiob. otyper , & mut gpiob. afrh ) ,
135
+ . into_af_open_drain ( & mut gpiob. moder , & mut gpiob. otyper , & mut gpiob. afrh ) ,
136
136
} ;
137
137
let cs_pair_2 = CrossSerialPair2 {
138
138
0 : gpiob
139
139
. pb10
140
- . into_af7_push_pull ( & mut gpiob. moder , & mut gpiob. otyper , & mut gpiob. afrh ) ,
140
+ . into_af_push_pull ( & mut gpiob. moder , & mut gpiob. otyper , & mut gpiob. afrh ) ,
141
141
1 : gpioa
142
142
. pa3
143
- . into_af7_open_drain ( & mut gpioa. moder , & mut gpioa. otyper , & mut gpioa. afrl ) ,
143
+ . into_af_open_drain ( & mut gpioa. moder , & mut gpioa. otyper , & mut gpioa. afrl ) ,
144
144
} ;
145
145
146
146
let serial1 = Serial :: new (
0 commit comments